Skip to content
Source
Sign inSign up
TanStack/form
Open History to see the last commit

createFormHook.md

36 lines959 Bytes

function createFormHook<TFormComponents, TFieldComponents>(createOptions): AppFormHookResult<{
  fieldComponents: TFieldComponents;
  formComponents: TFormComponents;
}>;

Defined in: packages/react-form/src/AppForm/createFormHook.public.ts:14

Type Parameters

TFormComponents

TFormComponents extends ReactComponentTree

TFieldComponents

TFieldComponents extends ReactComponentTree

Parameters

createOptions

CreateFormHookOptions<TFormComponents, TFieldComponents>

Returns

AppFormHookResult<{ fieldComponents: TFieldComponents; formComponents: TFormComponents; }>