import type { UseFormRegisterReturn } from "react-hook-form"; interface FormFieldProps { label: string; type?: string; placeholder?: string; registration: UseFormRegisterReturn; error?: string; } export default function FormField({ label, type = "text", placeholder, registration, error, }: FormFieldProps) { return (
{error}
}