'use client'; import { Checkbox as CheckboxPrimitive } from '@base-ui/react/checkbox'; import { IconCheck, IconMinus } from '@tabler/icons-react'; import * as React from 'react'; import { cn } from '@/lib/utils'; type CheckboxLabelProps = Omit, 'htmlFor'> & { htmlFor: string; }; type CheckboxProps = React.ComponentProps & { label?: React.ReactNode; labelClassName?: string; size?: 'md' | 'sm'; }; function CheckboxControl({ className, nativeButton = true, // react-doctor-disable-next-line react-doctor/control-has-associated-label -- consumers provide aria-label/aria-labelledby, or CheckboxRoot wires this button to the sibling label by id render =