import { type FormProps } from "https://deno.land/x/netzo@0.4.72/deps/react-hook-form.ts";
Type Parameters
TFieldValues extends FieldValues
optional
TTransformedValues extends FieldValues | undefined = undefineddefinition: Omit<React.FormHTMLAttributes<HTMLFormElement>, "onError" | "onSubmit"> & Partial<{ control: Control<TFieldValues>; headers: Record<string, string>; validateStatus: (status: number) => boolean; onError: (unnamed 0: { response: Response; error?: undefined; } | { response?: undefined; error: unknown; }) => void; onSuccess: (unnamed 0: { response: Response; }) => void; onSubmit: TTransformedValues extends FieldValues ? FormSubmitHandler<TTransformedValues> : FormSubmitHandler<TFieldValues>; method: "post" | "put" | "delete"; children: React.ReactNode | React.ReactNode[]; render: (props: { submit: (e?: React.FormEvent) => void; }) => React.ReactNode | React.ReactNode[]; encType: ; }>
| "application/x-www-form-urlencoded"
| "multipart/form-data"
| "text/plain"
| "application/json"