Skip to main content

<FieldArray />

Component that is a thin wrapper around useFieldArray.

import { FieldArray } from "@mozartspa/mobx-form"

Props#

It has the same props as UseFieldArrayOptions, plus:

name#

name: string

The name of the field.


children#

children: (props: UseFieldArrayResult) => ReactElement

A function that receives an array field instance and returns a ReactElement.