import * as CheckboxPrimitive from '@radix-ui/react-checkbox' import type React from 'react' import { cn } from '../../utils' import { CheckedIcon } from './CheckedIcon' import { IndeterminateIcon } from './IndeterminateIcon' type CheckboxProps = React.ComponentPropsWithoutRef< typeof CheckboxPrimitive.Root > & { error?: boolean | undefined ref?: React.Ref> } const Checkbox = ({ className, error = false, ref, ...props }: CheckboxProps) => ( <> ) Checkbox.displayName = CheckboxPrimitive.Root.displayName export { Checkbox }