import type { ReactNode } from 'react' interface FormFieldProps { label: string htmlFor?: string required?: boolean hint?: string children: ReactNode } export function FormField({ label, htmlFor, required, hint, children }: FormFieldProps) { return (
{children} {hint && (

{hint}

)}
) }