claude-web/node_modules/primevue/panel/BasePanel.vue

32 lines
693 B
Vue
Raw Permalink Normal View History

2026-02-23 02:23:38 +00:00
<script>
import BaseComponent from '@primevue/core/basecomponent';
import PanelStyle from 'primevue/panel/style';
export default {
name: 'BasePanel',
extends: BaseComponent,
props: {
header: String,
toggleable: Boolean,
collapsed: Boolean,
toggleButtonProps: {
type: Object,
default: () => {
return {
severity: 'secondary',
text: true,
rounded: true
};
}
}
},
style: PanelStyle,
provide() {
return {
$pcPanel: this,
$parentInstance: this
};
}
};
</script>