({ field, path })
| 7 | field: ParsedField; |
| 8 | path: string[]; |
| 9 | }> = ({ field, path }) => { |
| 10 | const { uiComponents } = useAutoForm(); |
| 11 | |
| 12 | return ( |
| 13 | <uiComponents.ObjectWrapper |
| 14 | label={getLabel(field)} |
| 15 | field={field} |
| 16 | > |
| 17 | {Object.entries(field.schema!).map(([_key, subField]) => ( |
| 18 | <AutoFormField |
| 19 | key={`${path.join(".")}.${subField.key}`} |
| 20 | field={subField} |
| 21 | path={[...path, subField.key]} |
| 22 | /> |
| 23 | ))} |
| 24 | </uiComponents.ObjectWrapper> |
| 25 | ); |
| 26 | }; |
nothing calls this directly
no test coverage detected