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 #262
Github Author: James Ide <ide@jameside.com>

Test Plan: Imported from GitHub, without a `Test Plan:` line.
  • Loading branch information
ide authored and sahrens committed Jun 12, 2015
1 parent 0119998 commit 4564726
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 4564726

Please sign in to comment.