import React from 'react' ; import { Input } from '../Input/Input' ; import { withIris , IrisInputProps } from '../../../utils' ; export const Checkbox = withIris < HTMLInputElement , Props > ( CheckboxComponent ) ; export type Props = IrisInputProps < { indeterminate ? : boolean ; } , HTMLInputElement > ; function CheckboxComponent ( props ) { return < Input type = "checkbox" { ... props } />; }