antd-mini
Version:
antd-mini 是支付宝小程序 UI 组件库,遵循 Ant Design 规范。
18 lines (17 loc) • 495 B
TypeScript
import { IBaseProps } from '../../_util/base';
export interface IRadioGroupProps extends IBaseProps {
value: string;
defaultValue: string;
name: string;
disabled?: boolean;
color: string;
position: 'horizontal' | 'vertical';
onChange?: (value: string, e: any) => void;
options: {
label?: string;
value?: string;
disabled?: boolean;
color?: string;
}[];
}
export declare const RadioGroupDefaultProps: Partial<IRadioGroupProps>;