✨ feature: Added Divider component
This commit is contained in:
parent
fb37a42db6
commit
a1a318510d
15
src/components/divider/VDivider.vue
Normal file
15
src/components/divider/VDivider.vue
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
<script setup lang="ts">
|
||||||
|
import Divider from 'primevue/divider';
|
||||||
|
import type { DividerProps } from 'primevue/divider';
|
||||||
|
|
||||||
|
export type IVDivider = Partial<Omit<DividerProps, 'dt' | 'pt' | 'ptOptions' | 'unstyled'>>
|
||||||
|
const props = withDefaults(defineProps<IVDivider>(), {
|
||||||
|
align: undefined,
|
||||||
|
layout: 'horizontal',
|
||||||
|
type: 'solid',
|
||||||
|
})
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<template>
|
||||||
|
<Divider :align="props.align" :layout="props.layout" :type="props.type"/>
|
||||||
|
</template>
|
Loading…
Reference in New Issue
Block a user