UNPKG

@modular-forms/react

Version:

The modular and type-safe form library for React

12 lines (11 loc) 268 B
/** * Returns the store of a field array. * * @param form The form of the field array. * @param name The name of the field array. * * @returns The reactive store. */ export function getFieldArrayStore(form, name) { return form.internal.fieldArrays[name]; }