primevue-mirror/components/lib/panel/BasePanel.vue

25 lines
487 B
Vue
Raw Normal View History

2023-05-19 10:33:07 +00:00
<script>
import BaseComponent from 'primevue/basecomponent';
import PanelStyle from 'primevue/panel/style';
2023-05-19 10:33:07 +00:00
export default {
name: 'BasePanel',
extends: BaseComponent,
props: {
header: String,
toggleable: Boolean,
collapsed: Boolean,
toggleButtonProps: {
type: null,
default: null
}
},
style: PanelStyle,
provide() {
return {
$parentInstance: this
};
2023-05-19 10:33:07 +00:00
}
};
</script>