2024-04-24 22:42:28 +00:00
|
|
|
<script>
|
|
|
|
import AccordionContentStyle from 'primevue/accordioncontent/style';
|
|
|
|
import BaseComponent from 'primevue/basecomponent';
|
|
|
|
|
|
|
|
export default {
|
|
|
|
name: 'BaseAccordionContent',
|
|
|
|
extends: BaseComponent,
|
|
|
|
props: {
|
|
|
|
as: {
|
|
|
|
type: String,
|
|
|
|
default: 'DIV'
|
|
|
|
},
|
|
|
|
asChild: {
|
|
|
|
type: Boolean,
|
|
|
|
default: false
|
|
|
|
}
|
|
|
|
},
|
2024-04-25 01:26:06 +00:00
|
|
|
style: AccordionContentStyle,
|
|
|
|
provide() {
|
|
|
|
return {
|
|
|
|
$pcAccordionContent: this,
|
|
|
|
$parentInstance: this
|
|
|
|
};
|
|
|
|
}
|
2024-04-24 22:42:28 +00:00
|
|
|
};
|
|
|
|
</script>
|