@opensig/opendesign
Version:
46 lines (45 loc) • 950 B
JavaScript
;
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const types$1 = require("../_components/in-input/types.js");
const types = require("../_components/in-box/types.js");
const { size, round, color, variant } = types.inBoxProps;
const inputProps = {
...types$1.inInputProps,
/**
* @zh-CN 大小
* @en-US Size
*/
size,
/**
* @zh-CN 圆角值
* @en-US Round
*/
round,
/**
* @zh-CN 输入框颜色
* @en-US Color
* @default 'normal'
*/
color,
/**
* @zh-CN 输入框类型
* @en-US variant
* @default 'outline'
*/
variant,
/**
* @zh-CN 输入框的值 v-model
* @en-US The value of the input box
*/
modelValue: {
type: [String, Number]
},
/**
* @zh-CN 输入框的默认值,非受控
* @en-US The default value of the input box.Uncontrolled.
*/
defaultValue: {
type: [String, Number]
}
};
exports.inputProps = inputProps;