Checkbox.d.ts 515 B

123456789101112131415
  1. import * as React from 'react';
  2. interface CheckboxProps {
  3. name: string;
  4. component?: any;
  5. componentOptions?: {
  6. [key: string]: unknown;
  7. };
  8. indeterminate?: boolean;
  9. checked?: boolean;
  10. disabled?: boolean;
  11. onClick?: (e: React.MouseEvent) => void;
  12. }
  13. declare function Checkbox({ name, component, componentOptions, indeterminate, checked, disabled, onClick, }: CheckboxProps): JSX.Element;
  14. declare const _default: React.MemoExoticComponent<typeof Checkbox>;
  15. export default _default;