2023-05-22 22:05:19 +00:00
|
|
|
<script>
|
|
|
|
import BaseComponent from 'primevue/basecomponent';
|
2023-10-02 10:46:09 +00:00
|
|
|
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'
|
|
|
|
}
|
|
|
|
},
|
2023-10-02 10:46:09 +00:00
|
|
|
style: DividerStyle,
|
2023-05-30 12:28:04 +00:00
|
|
|
provide() {
|
|
|
|
return {
|
2024-04-25 01:26:06 +00:00
|
|
|
$pcDivider: this,
|
2023-05-30 12:28:04 +00:00
|
|
|
$parentInstance: this
|
|
|
|
};
|
2023-05-22 22:05:19 +00:00
|
|
|
}
|
|
|
|
};
|
|
|
|
</script>
|