Skip to content

Commit

Permalink
[ReactNative] Export EdgeInsetsPropType and PointPropType
Browse files Browse the repository at this point in the history
Summary:
Added some more exports to React that are either necessary or often useful for component authors.

Closes facebook#262
Github Author: James Ide <ide@jameside.com>

Test Plan: Imported from GitHub, without a `Test Plan:` line.
  • Loading branch information
ide committed Jun 12, 2015
1 parent 6b621a5 commit 1c5053b
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 @@ -65,6 +65,10 @@ var ReactNative = Object.assign(Object.create(require('React')), {
Platform: require('Platform'),
requireNativeComponent: require('requireNativeComponent'),

// Prop Types
EdgeInsetsPropType: require('EdgeInsetsPropType'),
PointPropType: require('PointPropType'),

addons: {
LinkedStateMixin: require('LinkedStateMixin'),
Perf: undefined,
Expand Down

0 comments on commit 1c5053b

Please sign in to comment.