import * as CheckboxPrimitive from '@radix-ui/react-checkbox' import { CheckIcon } from 'lucide-react' import * as React from 'react' import type { CheckboxProps } from '../types' import { cn } from '../utils' import { Container } from './container' import { Label } from './label' import { RequiredIndicator } from './required-indicator' import { Text } from './text' const Checkbox = React.forwardRef, CheckboxProps>( ({ id, label, description, required, value = false, onChange = () => {}, className }, ref) => { return ( // TODO: remove className {required && } {/* TODO: remove className */} {description && ( {description} )} ) } ) Checkbox.displayName = CheckboxPrimitive.Root.displayName export { Checkbox }