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>

50 lines (49 loc) 925 B
import { ExtractPropTypes, PropType } from 'vue'; import { SizeT, RoundT, VariantT, Color2T } from '../../_utils/types'; export declare const inBoxProps: { /** * 大小 SizeT */ size: { type: PropType<SizeT>; }; /** * 圆角值 RoundT */ round: { type: PropType<RoundT>; }; /** * 颜色类型 Color2T */ color: { type: PropType<Color2T>; default: string; }; /** * 按钮类型 VariantT */ variant: { type: PropType<VariantT>; default: string; }; /** * 是否聚焦 */ focused: { type: BooleanConstructor; }; /** * 是否禁用 */ disabled: { type: BooleanConstructor; }; /** * 是否只读 */ readonly: { type: BooleanConstructor; }; }; export type InBoxProps = ExtractPropTypes<typeof inBoxProps>;