You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
export function useFieldArray<
FieldValue = any,
T extends HTMLElement = HTMLElement
>(
name: string,
config: UseFieldArrayConfig<FieldValue>
): FieldArrayRenderProps<FieldValue, T>
config should be optional, right? Just like in react-final-form. Readme clearly states
The useFieldArray hook takes two parameters, the first is the name of the field, and the second is an optional object that looks just like FieldArrayProps, except without the name. It returns an object just like FieldArrayRenderProps.
I'll make a pr.
The text was updated successfully, but these errors were encountered:
Yankovsky
added a commit
to Yankovsky/react-final-form-arrays
that referenced
this issue
Aug 2, 2019
config should be optional, right? Just like in react-final-form. Readme clearly states
I'll make a pr.
The text was updated successfully, but these errors were encountered: