props.d.ts 495 B

1234567891011121314151617
  1. import { IBaseProps } from '../../_util/base';
  2. export interface IRadioGroupProps extends IBaseProps {
  3. value: string;
  4. defaultValue: string;
  5. name: string;
  6. disabled?: boolean;
  7. color: string;
  8. position: 'horizontal' | 'vertical';
  9. onChange?: (value: string, e: any) => void;
  10. options: {
  11. label?: string;
  12. value?: string;
  13. disabled?: boolean;
  14. color?: string;
  15. }[];
  16. }
  17. export declare const RadioGroupDefaultProps: Partial<IRadioGroupProps>;