From c3a8f7aaad2769e72b3416ccc94ef0b26045ba9f Mon Sep 17 00:00:00 2001 From: James Ide Date: Tue, 24 Mar 2015 23:52:50 -0700 Subject: [PATCH] [Exports] Expose more modules for authors of custom components Added some more exports to React that are either necessary or often useful for component authors. --- Libraries/react-native/react-native.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Libraries/react-native/react-native.js b/Libraries/react-native/react-native.js index 01bff7eae5dfb0..b445ff0d447c6a 100644 --- a/Libraries/react-native/react-native.js +++ b/Libraries/react-native/react-native.js @@ -29,6 +29,7 @@ var ReactNative = Object.assign(Object.create(require('React')), { Navigator: require('Navigator'), ScrollView: require('ScrollView'), SliderIOS: require('SliderIOS'), + StaticContainer: require('StaticContainer.react'), SwitchIOS: require('SwitchIOS'), TabBarIOS: require('TabBarIOS'), Text: require('Text'), @@ -61,10 +62,15 @@ var ReactNative = Object.assign(Object.create(require('React')), { NativeModules: require('NativeModules'), requireNativeComponent: require('requireNativeComponent'), + // Prop Types + EdgeInsetsPropType: require('EdgeInsetsPropType'), + PointPropType: require('PointPropType'), + addons: { LinkedStateMixin: require('LinkedStateMixin'), Perf: undefined, PureRenderMixin: require('ReactComponentWithPureRenderMixin'), + StaticRenderer: require('StaticRenderer'), TestModule: require('NativeModules').TestModule, TestUtils: undefined, batchedUpdates: require('ReactUpdates').batchedUpdates,