18 lines
495 B
TypeScript
18 lines
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>;
|