primevue-mirror/components/lib/divider/BaseDivider.vue

31 lines
605 B
Vue
Raw Normal View History

2023-05-22 22:05:19 +00:00
<script>
import BaseComponent from 'primevue/basecomponent';
import DividerStyle from 'primevue/divider/style';
2023-05-22 22:05:19 +00:00
export default {
name: 'BaseDivider',
extends: BaseComponent,
props: {
align: {
type: String,
default: null
},
layout: {
type: String,
default: 'horizontal'
},
type: {
type: String,
default: 'solid'
}
},
style: DividerStyle,
provide() {
return {
$pcDivider: this,
$parentInstance: this
};
2023-05-22 22:05:19 +00:00
}
};
</script>