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 {
|
2024-04-25 01:26:06 +00:00
|
|
|
$pcAccordionHeader: this,
|
2024-04-24 22:42:28 +00:00
|
|
|
$parentInstance: this
|
|
|
|
};
|
|
|
|
}
|
|
|
|
};
|
|
|
|
</script>
|