1
0
Fork 1
mirror of https://github.com/hay-kot/homebox.git synced 2024-12-29 18:16:35 +00:00
homebox/frontend/components/Base/Container.vue

15 lines
232 B
Vue
Raw Normal View History

2022-09-01 22:32:03 +00:00
<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>