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

26 lines
521 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 {
$parentInstance: this
};
}
};
</script>