Skip to content

Commit

Permalink
[Exports] Expose PropType modules for authors of custom components
Browse files Browse the repository at this point in the history
Added the EdgeInsets and Point PropTypes.
  • Loading branch information
ide committed May 13, 2015
1 parent fec8194 commit c85bdae
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Libraries/react-native/react-native.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit c85bdae

Please sign in to comment.