@vrx-arco/pro-components
Version:
<p align="center"> <img src="https://vrx-arco.github.io/arco-design-pro/favicon.svg" width="200" height="250"> </p>
72 lines (71 loc) • 1.08 kB
JavaScript
const formGridItemProps = () => ({
gridProps: {
type: Object,
required: true
},
field: {
type: String,
default: ""
},
label: String,
showColon: {
type: Boolean,
default: false
},
noStyle: {
type: Boolean,
default: false
},
disabled: Boolean,
help: String,
extra: String,
required: {
type: Boolean,
default: false
},
rules: [Object, Array],
validateStatus: String,
validateTrigger: { type: [String, Array] },
labelColProps: Object,
wrapperColProps: Object,
hideLabel: {
type: Boolean,
default: false
},
hideAsterisk: {
type: Boolean,
default: false
},
labelColStyle: Object,
wrapperColStyle: Object,
rowProps: Object,
rowClass: [
String,
Array,
Object
],
contentClass: [
String,
Array,
Object
],
contentFlex: {
type: Boolean,
default: true
},
mergeProps: {
type: [Boolean, Function],
default: true
},
labelColFlex: [Number, String],
feedback: {
type: Boolean,
default: false
},
labelComponent: {
type: String,
default: "label"
},
labelAttrs: Object
});
export { formGridItemProps };