* Flatten a children object (typically specified as `props.children`) and * return an array with appropriately re-keyed children. * * See https://reactjs.org/docs/react-api.html#react.children.toarray
(children)
| 19404 | * See https://reactjs.org/docs/react-api.html#react.children.toarray |
| 19405 | */ |
| 19406 | function toArray(children) { |
| 19407 | var result = []; |
| 19408 | mapIntoWithKeyPrefixInternal(children, result, null, emptyFunction.thatReturnsArgument); |
| 19409 | return result; |
| 19410 | } |
| 19411 | |
| 19412 | /** |
| 19413 | * Returns the first child in a collection of children and verifies that there |
nothing calls this directly
no test coverage detected