import * as React from 'react'; import { Check } from 'lucide-react'; import * as CheckboxPrimitive from '@radix-ui/react-checkbox'; import { cn } from '~/utils'; type BaseCheckboxProps = Omit< React.ComponentPropsWithoutRef, 'aria-label' | 'aria-labelledby' > & { asChild?: boolean; }; export type CheckboxProps = | (BaseCheckboxProps & { 'aria-label': string; 'aria-labelledby'?: never; }) | (BaseCheckboxProps & { 'aria-labelledby': string; 'aria-label'?: never; }); const Checkbox = React.forwardRef, CheckboxProps>( ({ className = '', ...props }, ref) => ( ), ); Checkbox.displayName = CheckboxPrimitive.Root.displayName; export { Checkbox };