From c85bdae2bbde0b0f26edee62cd379b2bd718b9fe Mon Sep 17 00:00:00 2001 From: James Ide Date: Tue, 24 Mar 2015 23:52:50 -0700 Subject: [PATCH] [Exports] Expose PropType modules for authors of custom components Added the EdgeInsets and Point PropTypes. --- Libraries/react-native/react-native.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Libraries/react-native/react-native.js b/Libraries/react-native/react-native.js index b94b172f37de61..03dfc49087112c 100644 --- a/Libraries/react-native/react-native.js +++ b/Libraries/react-native/react-native.js @@ -62,6 +62,10 @@ 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,