MCPcopy
hub / github.com/react-component/form / internalFlattenFields

Function internalFlattenFields

src/createFieldsStore.js:14–20  ·  view source on GitHub ↗
(fields)

Source from the content-addressed store, hash-verified

12}
13
14function internalFlattenFields(fields) {
15 return flattenFields(
16 fields,
17 (_, node) => isFormField(node),
18 'You must wrap field data with `createFormField`.'
19 );
20}
21
22class FieldsStore {
23 constructor(fields) {

Callers 2

constructorMethod · 0.85
updateFieldsMethod · 0.85

Calls 2

flattenFieldsFunction · 0.90
isFormFieldFunction · 0.90

Tested by

no test coverage detected