import type {UseCheckboxReturn} from "./use-checkbox"; type CheckboxIconProps = Partial>; function CheckIcon(props: CheckboxIconProps) { const {isSelected, disableAnimation, ...otherProps} = props; return ( ); } function IndeterminateIcon(props: CheckboxIconProps) { // eslint-disable-next-line @typescript-eslint/no-unused-vars const {isSelected, disableAnimation, ...otherProps} = props; return ( ); } /** * CheckboxIcon is used to visually indicate the checked or indeterminate * state of a checkbox. */ export function CheckboxIcon(props: CheckboxIconProps) { const {isIndeterminate, ...otherProps} = props; const BaseIcon = isIndeterminate ? IndeterminateIcon : CheckIcon; return ; }