Skip to content

Commit ae8d93f

Browse files
author
Gethin Webster
committed
Add support for PropTypes import from react-native
See issue #43
1 parent 546635c commit ae8d93f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/isReactModuleName.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
*
1111
*/
1212

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

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

0 commit comments

Comments
 (0)