primevue-mirror/packages/primevue/src/fieldset/BaseFieldset.vue

26 lines
536 B
Vue
Raw Normal View History

2023-05-19 10:44:25 +00:00
<script>
2024-06-11 12:21:12 +00:00
import BaseComponent from '@primevue/core/basecomponent';
import FieldsetStyle from 'primevue/fieldset/style';
2023-05-19 10:44:25 +00:00
export default {
name: 'BaseFieldset',
extends: BaseComponent,
props: {
legend: String,
toggleable: Boolean,
collapsed: Boolean,
toggleButtonProps: {
type: null,
default: null
}
},
style: FieldsetStyle,
provide() {
return {
$pcFieldset: this,
$parentInstance: this
};
2023-05-19 10:44:25 +00:00
}
};
</script>