@opensig/opendesign
Version:
47 lines (46 loc) • 912 B
JavaScript
;
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const buttonToggleProps = {
/**
* @zh-CN 双向绑定值,是否被选中
* @en-US Bidirectional binding value, whether selected.
* @default undefined
*/
checked: {
type: Boolean,
default: void 0
},
/**
* @zh-CN 非受控状态时,默认是否选中
* @en-US Whether it is selected by default when in an uncontrolled state.
* @default false
*/
defaultChecked: {
type: Boolean,
default: false
},
/**
* @zh-CN 圆角值
* @en-US Round.
*/
round: {
type: String
},
/**
* @zh-CN 前缀图标
* @en-US Prefix icon.
*/
icon: {
type: Object
},
/**
* @zh-CN 是否禁用
* @en-US Whether to disable.
* @default false
*/
disabled: {
type: Boolean,
default: false
}
};
exports.buttonToggleProps = buttonToggleProps;