interface FormCheckboxProps { name: string; label: string; /** * If set, the checkbox label will be underlined and dotted, indicating a hint. When hovered, it will show the hint text. */ hint?: string; currentValue: boolean; onChange(newValue: boolean): void; } export default function FormCheckbox({ name, label, currentValue, onChange, hint }: FormCheckboxProps) { return (
); }