interface FormControlProps { label: string; htmlFor?: string; error?: string; children: React.ReactNode; } export function FormControl({ label, htmlFor, error, children }: FormControlProps) { return (
{children} {error && (

{error}

)}
); }