props.d.ts 381 B

12345678910111213
  1. import { IBaseProps } from '../_util/base';
  2. /**
  3. * @description 复选框,表单组件。
  4. */
  5. export interface ICheckboxProps extends IBaseProps {
  6. value?: any;
  7. checked: boolean;
  8. defaultChecked?: boolean;
  9. disabled: boolean;
  10. color: string;
  11. onChange?: (checked: boolean, e: any) => void;
  12. }
  13. export declare const CheckboxDefaultProps: Partial<ICheckboxProps>;