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

Commit 38367e7

Browse files
authored
Update index.js
1 parent e65489f commit 38367e7

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)