import { ComponentProps } from 'react'; export interface CheckboxOptions { indeterminate?: boolean; variant?: Variant; } export type CheckboxProps = CheckboxOptions & Omit, 'onChange'> & { onChange?: (isChecked: boolean, e: React.MouseEvent) => void; }; export type Variant = 'danger' | 'success' | 'warning';