Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/netzo/deps/react-hook-form.ts>FormProps

Full-stack Deno framework for building business web apps like internal tools, dashboards, admin panels and automated workflows.
Go to Latest
type alias FormProps
Re-export
import { type FormProps } from "https://deno.land/x/netzo@0.5.107/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"
; }>