visua-vue/src/components/divider/VDivider.vue

16 lines
441 B
Vue
Raw Normal View History

2025-07-22 01:13:06 +02:00
<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>