Skip to content

Commit 1386a4e

Browse files
committed
Merge pull request #44 from gethinwebster/react-native-props
Add support for PropTypes imported from react-native
2 parents 546635c + ae8d93f commit 1386a4e

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)