import cn from "@utils/classnames.ts"; import { type ChangeEvent, type ReactNode, forwardRef } from "react"; import LabelTooltip from "./LabelTooltip.tsx"; interface InputCheckboxProps { label: string; description?: string; error?: string; required?: boolean; className?: string; id?: string; tooltip?: string | ReactNode; more?: ReactNode; moreTitle?: string; checked?: boolean; onChange?: (e: ChangeEvent) => void; } const InputCheckbox = forwardRef( ( { label, description, error, required, className = "", id, tooltip = "", more = null, moreTitle = null, ...props }, ref ) => { const checkboxId = id || `checkbox-${Math.random().toString(36).substr(2, 9)}`; return ( ); } ); InputCheckbox.displayName = "InputCheckbox"; export default InputCheckbox;