Form
@justweb3/ui • Docs
@justweb3/ui / Form
Function: Form()
Form<
TFieldValues
,TContext
,TTransformedValues
>(props
):Element
A provider component that propagates the useForm
methods to all children components via React Context API. To be used with useFormContext.
Type Parameters
• TFieldValues extends FieldValues
• TContext = any
• TTransformedValues extends undefined
| FieldValues
= undefined
Parameters
• props: FormProviderProps
<TFieldValues
, TContext
, TTransformedValues
>
all useForm methods
Returns
Element
Remarks
Example
Defined in
Last updated