* Flatten a children object (typically specified as `props.children`) and * return an array with appropriately re-keyed children.
(children)
| 4399 | * return an array with appropriately re-keyed children. |
| 4400 | */ |
| 4401 | function toArray(children) { |
| 4402 | var result = []; |
| 4403 | mapIntoWithKeyPrefixInternal(children, result, null, emptyFunction.thatReturnsArgument); |
| 4404 | return result; |
| 4405 | } |
| 4406 | |
| 4407 | var ReactChildren = { |
| 4408 | forEach: forEachChildren, |
no test coverage detected
searching dependent graphs…