primevue-mirror/components/lib/fieldset/BaseFieldset.vue

26 lines
530 B
Vue
Raw Normal View History

2023-05-19 10:44:25 +00:00
<script>
import BaseComponent from 'primevue/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>