'use client'; import { cn } from '@/utils/cn'; import * as CheckboxPrimitive from '@radix-ui/react-checkbox'; import { Check } from 'lucide-react'; import * as React from 'react'; export const DumpCheckbox = ({ checked }: { checked: boolean }) => { return (
{checked && }
); }; const Checkbox = React.forwardRef< React.ElementRef, React.ComponentPropsWithoutRef >(({ className, ...props }, ref) => ( )); Checkbox.displayName = CheckboxPrimitive.Root.displayName; const CheckboxInput = React.forwardRef< React.ElementRef, React.ComponentPropsWithoutRef >(({ className, ...props }, ref) => ( )); CheckboxInput.displayName = 'CheckboxInput'; export { Checkbox, CheckboxInput };