import { forwardRef, type ButtonHTMLAttributes } from "react"; import { cn } from "@/lib/utils"; type CheckedState = boolean | "indeterminate"; export interface CheckboxProps extends Omit, "onChange" | "checked"> { checked?: CheckedState; onCheckedChange?: (checked: CheckedState) => void; } export const Checkbox = forwardRef( ({ className, checked, onCheckedChange, ...props }, ref) => (