Files
example-with-template/src/@core/components/CustomizerSection.vue
2025-07-28 23:20:53 +00:00

35 lines
513 B
Vue

<script setup lang="ts">
interface Props {
title: string
divider?: boolean
}
defineOptions({
inheritAttrs: false,
})
const props = withDefaults(defineProps<Props>(), {
divider: true,
})
</script>
<template>
<VDivider v-if="props.divider" />
<div
class="customizer-section"
v-bind="$attrs"
>
<div>
<VChip
label
size="small"
color="primary"
rounded="sm"
>
{{ props.title }}
</VChip>
</div>
<slot />
</div>
</template>