@opensig/opendesign
Version:
39 lines (38 loc) • 625 B
JavaScript
const optionProps = {
/**
* @zh-CN 选项显示文本
* @en-US The option displays text.
* @default ''
*/
label: {
type: String,
default: ""
},
/**
* @zh-CN 选项选中后的值
* @en-US The value after the option is selected.
* @default ''
*/
value: {
type: [String, Number],
default: ""
},
/**
* @zh-CN 支持选项禁用
* @en-US Disabled support options.
*/
disabled: {
type: Boolean
},
/**
* @zh-CN 是否半选
* @en-US Whether to select half
*/
indeterminate: {
type: Boolean,
default: false
}
};
export {
optionProps
};