@opensig/opendesign
Version:
38 lines (37 loc) • 871 B
TypeScript
import { ExtractPropTypes } from 'vue';
export declare const optionProps: {
/**
* @zh-CN 选项显示文本
* @en-US The option displays text.
* @default ''
*/
label: {
type: StringConstructor;
default: string;
};
/**
* @zh-CN 选项选中后的值
* @en-US The value after the option is selected.
* @default ''
*/
value: {
type: (NumberConstructor | StringConstructor)[];
default: string;
};
/**
* @zh-CN 支持选项禁用
* @en-US Disabled support options.
*/
disabled: {
type: BooleanConstructor;
};
/**
* @zh-CN 是否半选
* @en-US Whether to select half
*/
indeterminate: {
type: BooleanConstructor;
default: boolean;
};
};
export type OptionPropsT = ExtractPropTypes<typeof optionProps>;