Skip to content

Commit

Permalink
Merge pull request #44 from gethinwebster/react-native-props
Browse files Browse the repository at this point in the history
Add support for PropTypes imported from react-native
  • Loading branch information
fkling committed Jan 4, 2016
2 parents 546635c + ae8d93f commit 1386a4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/isReactModuleName.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
*
*/

var reactModules = ['react', 'react/addons'];
var reactModules = ['react', 'react/addons', 'react-native'];

/**
* Takes a module name (string) and returns true if it refers to a root react
Expand Down

0 comments on commit 1386a4e

Please sign in to comment.