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>

38 lines (37 loc) 813 B
import { ExtractPropTypes } from 'vue'; export declare const radioProps: { /** * 单选框value */ value: { type: (NumberConstructor | StringConstructor | BooleanConstructor)[]; required: boolean; }; /** * 单选框双向绑定值 */ modelValue: { type: (NumberConstructor | StringConstructor | BooleanConstructor)[]; }; /** * 非受控状态时,默认是否选中 */ defaultChecked: { type: BooleanConstructor; default: boolean; }; /** * 是否禁用 */ disabled: { type: BooleanConstructor; default: boolean; }; /** * input id */ inputId: { type: StringConstructor; }; }; export type RadioPropsT = ExtractPropTypes<typeof radioProps>;