import * as CheckboxPrimitive from "@radix-ui/react-checkbox"; import { CheckIcon } from "lucide-react"; import { type ComponentProps } from "react"; import { cn } from "../hooks"; interface CheckboxProps extends Omit, "className"> { checkall?: boolean; className?: string; } /** * Checkbox with optional "checkall" appearance. * When `checkall` is true, renders a filled square state. */ const Checkbox = ({ className, checkall, ...props }: CheckboxProps) => ( {checkall ? ( ) : ( )} ); export { Checkbox };