Skip to content

Commit

Permalink
Add support for PropTypes import from react-native
Browse files Browse the repository at this point in the history
See issue reactjs#43
  • Loading branch information
Gethin Webster committed Dec 9, 2015
1 parent 546635c commit ae8d93f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/isReactModuleName.js
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 ae8d93f

Please sign in to comment.