* Flatten a children object (typically specified as `props.children`) and * return an array with appropriately re-keyed children. * * See https://facebook.github.io/react/docs/react-api.html#react.children.toarray
(children)
| 2218 | * See https://facebook.github.io/react/docs/react-api.html#react.children.toarray |
| 2219 | */ |
| 2220 | function toArray(children) { |
| 2221 | var result = []; |
| 2222 | mapIntoWithKeyPrefixInternal(children, result, null, emptyFunction.thatReturnsArgument); |
| 2223 | return result; |
| 2224 | } |
| 2225 | |
| 2226 | var ReactChildren = { |
| 2227 | forEach: forEachChildren, |
nothing calls this directly
no test coverage detected