Skip to content

Commit

Permalink
Add Children.toArray to ReactNative
Browse files Browse the repository at this point in the history
Summary:
To fix #5769. I believe `ReactNative.Children.toArray` should be accessible now.
Closes #5780

Reviewed By: svcscm

Differential Revision: D2907876

Pulled By: spicyj

fb-gh-sync-id: 649908843f535a89909425bcdcbc58461854779b
  • Loading branch information
arjunblj authored and facebook-github-bot-2 committed Feb 6, 2016
1 parent 109036b commit 7cbad9f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Libraries/ReactNative/ReactNative.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ var ReactNative = {
map: ReactChildren.map,
forEach: ReactChildren.forEach,
count: ReactChildren.count,
toArray: ReactChildren.toArray,
only: onlyChild
},
Component: ReactComponent,
Expand Down

0 comments on commit 7cbad9f

Please sign in to comment.