Add Children.toArray to ReactNative

Summary:
To fix #5769. I believe `ReactNative.Children.toArray` should be accessible now.
Closes https://github.com/facebook/react-native/pull/5780

Reviewed By: svcscm

Differential Revision: D2907876

Pulled By: spicyj

fb-gh-sync-id: 649908843f535a89909425bcdcbc58461854779b
This commit is contained in:
Arjun Balaji 2016-02-05 16:56:54 -08:00 committed by facebook-github-bot-2
parent 109036b4c4
commit 7cbad9f530
1 changed files with 1 additions and 0 deletions

View File

@ -84,6 +84,7 @@ var ReactNative = {
map: ReactChildren.map, map: ReactChildren.map,
forEach: ReactChildren.forEach, forEach: ReactChildren.forEach,
count: ReactChildren.count, count: ReactChildren.count,
toArray: ReactChildren.toArray,
only: onlyChild only: onlyChild
}, },
Component: ReactComponent, Component: ReactComponent,