Skip to content

Commit c85bdae

Browse files
committed
[Exports] Expose PropType modules for authors of custom components
Added the EdgeInsets and Point PropTypes.
1 parent fec8194 commit c85bdae

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Libraries/react-native/react-native.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,10 @@ var ReactNative = Object.assign(Object.create(require('React')), {
6262
NativeModules: require('NativeModules'),
6363
requireNativeComponent: require('requireNativeComponent'),
6464

65+
// Prop Types
66+
EdgeInsetsPropType: require('EdgeInsetsPropType'),
67+
PointPropType: require('PointPropType'),
68+
6569
addons: {
6670
LinkedStateMixin: require('LinkedStateMixin'),
6771
Perf: undefined,

0 commit comments

Comments
 (0)