import { IToggleableProps } from '../Switch/types'; import { ITooltipBaseProps } from '../Tooltip'; import { IClassName } from "../../types"; import { IFontIconName, IFontIconProps } from '../Icon/types'; export interface ICheckboxProps extends IToggleableProps, ITooltipBaseProps, Omit { /** * Callback that is invoked when the user presses the checkbox. * @param value A boolean indicating the new checked state of the checkbox. */ onValueChange?: (value: boolean) => void; /*** * The icon name to display when the checkbox is checked. */ checkedIconName?: IFontIconName; /** * The icon name to display when the checkbox is unchecked. */ uncheckedIconName?: IFontIconName; /** * The className of the icon when the checkbox is checked. */ checkedClassName?: IClassName; /*** * The className of the icon when the checkbox is unchecked */ uncheckedClassName?: IClassName; /*** * The variant of the icon when the checkbox is checked */ checkedVariant?: IFontIconProps['variant']; /** * The variant of the icon when the checkbox is unchecked */ uncheckedVariant?: IFontIconProps['variant']; }