///
import { ChoiceChangeEvent, ChoiceView } from '../Choice/interfaces';
export interface AbstractCheckboxProps {
className?: string;
defaultChecked?: boolean;
checked?: boolean;
style?: React.CSSProperties;
disabled?: boolean;
onChange?: (e: T) => void;
onClick?: React.MouseEventHandler;
onMouseEnter?: React.MouseEventHandler;
onMouseLeave?: React.MouseEventHandler;
value?: any;
tabIndex?: number;
name?: string;
children?: React.ReactNode;
id?: string;
autoFocus?: boolean;
type?: string;
}
export interface CheckboxProps extends AbstractCheckboxProps {
view?: ChoiceView;
size?: 'm' | 'l';
align?: 'top' | 'center' | 'bottom';
indeterminate?: boolean;
}