primevue-mirror/components/lib/accordionpanel/BaseAccordionPanel.vue

35 lines
721 B
Vue
Raw Normal View History

2024-04-24 22:42:28 +00:00
<script>
import AccordionPanelStyle from 'primevue/accordionpanel/style';
import BaseComponent from 'primevue/basecomponent';
export default {
name: 'BaseAccordionPanel',
extends: BaseComponent,
props: {
value: {
type: String,
default: undefined
},
disabled: {
type: Boolean,
default: false
},
as: {
type: String,
default: 'DIV'
},
asChild: {
type: Boolean,
default: false
}
},
style: AccordionPanelStyle,
provide() {
return {
$pcAccordionPanel: this,
$parentInstance: this
};
}
};
</script>