import { forwardRef, type InputHTMLAttributes, type ReactNode } from "react"; import "@shared/components/Checkbox.css"; export interface CheckboxProps extends Omit< InputHTMLAttributes, "type" | "size" > { label?: ReactNode; description?: ReactNode; /** Optional glyph shown between the box and the label text. */ leadingIcon?: ReactNode; /** Tri-state checkbox visual (still focusable + submittable, but renders the dash). */ indeterminate?: boolean; } export const Checkbox = forwardRef( function Checkbox( { label, description, leadingIcon, indeterminate, className, id, ...rest }, ref, ) { return ( ); }, );