16 lines
441 B
Vue
16 lines
441 B
Vue
|
<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>
|