@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>
33 lines (32 loc) • 831 B
TypeScript
import { ExtractPropTypes, PropType } from 'vue';
import { DirectionT } from '../_utils/types';
export declare const radioGroupProps: {
/**
* 单选框组双向绑定值
*/
modelValue: {
type: (NumberConstructor | StringConstructor | BooleanConstructor)[];
};
/**
* 非受控状态时,单选框组默认值
*/
defaultValue: {
type: (NumberConstructor | StringConstructor | BooleanConstructor)[];
default: string;
};
/**
* 单选框组是否禁用
*/
disabled: {
type: BooleanConstructor;
default: boolean;
};
/**
* 单选框组方向 DirectionT
*/
direction: {
type: PropType<DirectionT>;
default: string;
};
};
export type RadioGroupPropsT = ExtractPropTypes<typeof radioGroupProps>;