mirror of
https://github.com/hay-kot/homebox.git
synced 2024-12-29 18:16:35 +00:00
15 lines
232 B
Vue
15 lines
232 B
Vue
|
<script lang="ts" setup>
|
||
|
defineProps({
|
||
|
is: {
|
||
|
type: String,
|
||
|
default: 'div',
|
||
|
},
|
||
|
});
|
||
|
</script>
|
||
|
|
||
|
<template>
|
||
|
<component :is="is" class="container max-w-6xl mx-auto px-4">
|
||
|
<slot />
|
||
|
</component>
|
||
|
</template>
|