import { useId, type ComponentProps } from "react"; export interface CheckboxProps extends Omit< ComponentProps<"input">, "type" | "onChange" > { label: string; onChange?: (checked: boolean) => void; } export function Checkbox({ label, id, onChange, className = "", ...props }: CheckboxProps) { const generatedId = useId(); return ( ); }