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

26 lines
536 B
Vue

<script>
import BaseComponent from '@primevue/core/basecomponent';
import FieldsetStyle from 'primevue/fieldset/style';
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
};
}
};
</script>