Skip to content
This repository was archived by the owner on Sep 10, 2023. It is now read-only.

Commit af7f0e6

Browse files
authored
Merge pull request #9 from stereodenis/patch-1
Update index.js
2 parents e65489f + 38367e7 commit af7f0e6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
*
1212
* ================================================================ */
1313

14-
let React = require('react-native');
14+
let React = require('react');
1515
let Common = require('autoresponsive-common');
1616

1717
let {
@@ -22,7 +22,7 @@ let {
2222
let {
2323
View,
2424
Dimensions
25-
} = React;
25+
} = require('react-native');
2626

2727
const screenWidth = Dimensions.get('window').width;
2828
const noop = function() {};

0 commit comments

Comments
 (0)