"use client"; import * as React from "react"; import * as CheckboxPrimitive from "@radix-ui/react-checkbox"; import { Check } from "lucide-react"; import { cn } from "@app/lib/cn"; const Checkbox = React.forwardRef< React.ElementRef, React.ComponentPropsWithoutRef >(({ className, ...props }, ref) => ( )); Checkbox.displayName = CheckboxPrimitive.Root.displayName; interface CheckboxWithLabelProps extends React.ComponentPropsWithoutRef { label: string; } const CheckboxWithLabel = React.forwardRef< React.ElementRef, CheckboxWithLabelProps >(({ className, label, id, ...props }, ref) => { return (
); }); CheckboxWithLabel.displayName = "CheckboxWithLabel"; export { Checkbox, CheckboxWithLabel };