26 lines
521 B
Vue
26 lines
521 B
Vue
|
<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>
|