primevue-mirror/components/lib/accordionheader/BaseAccordionHeader.vue

27 lines
559 B
Vue
Raw Normal View History

2024-04-24 22:42:28 +00:00
<script>
import AccordionHeaderStyle from 'primevue/accordionheader/style';
import BaseComponent from 'primevue/basecomponent';
export default {
name: 'BaseAccordionHeader',
extends: BaseComponent,
props: {
as: {
type: String,
default: 'BUTTON'
},
asChild: {
type: Boolean,
default: false
}
},
style: AccordionHeaderStyle,
provide() {
return {
$pcAccordionHeader: this,
2024-04-24 22:42:28 +00:00
$parentInstance: this
};
}
};
</script>