Initial commit
This commit is contained in:
34
src/@core/components/CustomizerSection.vue
Normal file
34
src/@core/components/CustomizerSection.vue
Normal file
@@ -0,0 +1,34 @@
|
||||
<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>
|
||||
Reference in New Issue
Block a user