import type {UseCheckboxReturn} from "./use-checkbox"; type CheckboxIconProps = Partial>; function CheckIcon(props: CheckboxIconProps) { return ( ); } function IndeterminateIcon(props: CheckboxIconProps) { return ( ); } /** * CheckboxIcon is used to visually indicate the checked or indeterminate * state of a checkbox. */ export function CheckboxIcon(props: CheckboxIconProps) { const BaseIcon = props.isIndeterminate ? IndeterminateIcon : CheckIcon; return ; }