Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Go to Latest
type alias FormProps
Re-export
import { type FormProps } from "https://deno.land/x/netzo@0.3.66/deps/react-hook-form.ts";

Type Parameters

TFieldValues extends FieldValues
optional
TTransformedValues extends FieldValues | undefined = undefined
definition: 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"
; }>