primevue-mirror/components/lib/accordioncontent/BaseAccordionContent.vue

27 lines
561 B
Vue
Raw Normal View History

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
}
},
style: AccordionContentStyle,
provide() {
return {
$pcAccordionContent: this,
$parentInstance: this
};
}
2024-04-24 22:42:28 +00:00
};
</script>