From 7cbad9f53048ab5d19a8004df30ae621f1bfbd09 Mon Sep 17 00:00:00 2001 From: Arjun Balaji Date: Fri, 5 Feb 2016 16:56:54 -0800 Subject: [PATCH] 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 --- Libraries/ReactNative/ReactNative.js | 1 + 1 file changed, 1 insertion(+) diff --git a/Libraries/ReactNative/ReactNative.js b/Libraries/ReactNative/ReactNative.js index 1b0274753..e2314ba58 100644 --- a/Libraries/ReactNative/ReactNative.js +++ b/Libraries/ReactNative/ReactNative.js @@ -84,6 +84,7 @@ var ReactNative = { map: ReactChildren.map, forEach: ReactChildren.forEach, count: ReactChildren.count, + toArray: ReactChildren.toArray, only: onlyChild }, Component: ReactComponent,