props.d.ts 491 B

12345678910111213141516
  1. import { IBaseProps } from '../_util/base';
  2. export interface IRadioProps extends IBaseProps {
  3. /**
  4. * @description 组件值,选中时 change 事件会携带的 value。
  5. */
  6. value?: string;
  7. defaultChecked?: boolean;
  8. /**
  9. * @description radio 的颜色,同 CSS 色值。
  10. */
  11. color?: string;
  12. checked?: boolean;
  13. disabled?: boolean;
  14. onChange?: (checked: boolean, e: any) => void;
  15. }
  16. export declare const RadioDefaultProps: Partial<IRadioProps>;