Skip to main content

Variable: Form

@arolariu/components


@arolariu/components / Form

Variable: Form

const Form: <TFieldValues, TContext, TTransformedValues>(props) => Element & object

Defined in: components/ui/form.tsx:53

Provides the react-hook-form context to nested form primitives.

Type Declaration

displayName

displayName: string = "Form"

Remarks

  • Renders the FormProvider component from react-hook-form
  • Built on react-hook-form

Example

<Form {...form}>
<form>...</form>
</Form>

See

React Hook Form FormProvider Docs

// was this page useful?