UNPKG

@opensig/opendesign

Version:

<p align="center"><img src="../docs/public/opendesign-logo-light.png"/></p> <h1 align="center">opendesign</h1> <p align="center">一个 Vue 3 组件库</p> <p align="center"><b>皮肤可定制,使用 TypeScript</b></p>

28 lines (27 loc) 482 B
import { inInputProps } from "../_components/in-input/types.mjs"; import { inBoxProps } from "../_components/in-box/types.mjs"; const { size, round, color, variant } = inBoxProps; const inputProps = { ...inInputProps, size, round, color, variant, /** * 输入框的值 * v-model */ modelValue: { type: [String, Number] }, /** * 输入框的默认值 * 非受控 */ defaultValue: { type: [String, Number] } }; export { inputProps };