diff --git a/package.json b/package.json index 4d37660..837bb25 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,7 @@ "react-addons-shallow-compare": "15.3.2", "react-clone-referenced-element": "^1.0.1", "react-mixin": "^3.0.5", - "react-native-drawer-layout": "^1.0.0", + "react-native-drawer-layout-polyfill": "^1.1.0", "react-native-tab-view": "0.0.52", "react-redux": "^4.4.5", "react-static-container": "^1.0.0", @@ -47,9 +47,8 @@ }, "devDependencies": { "babel-eslint": "^7.1.1", - "eslint": "^3.0.0", - "eslint-config-expo": "^5.1.3", "eslint": "^3.12.2", + "eslint-config-expo": "^5.1.3", "eslint-plugin-babel": "^4.0.0", "eslint-plugin-flowtype": "^2.30.0", "eslint-plugin-import": "^2.2.0", diff --git a/src/drawer/ExNavigationDrawer.js b/src/drawer/ExNavigationDrawer.js index ad77eca..4776b92 100644 --- a/src/drawer/ExNavigationDrawer.js +++ b/src/drawer/ExNavigationDrawer.js @@ -9,7 +9,7 @@ import { StyleSheet, View, } from 'react-native'; -import DrawerLayout from 'react-native-drawer-layout'; +import DrawerLayout from 'react-native-drawer-layout-polyfill'; import PureComponent from '../utils/PureComponent'; import StaticContainer from 'react-static-container'; diff --git a/src/drawer/ExNavigationDrawerLayout.js b/src/drawer/ExNavigationDrawerLayout.js index bb85227..b227ce6 100644 --- a/src/drawer/ExNavigationDrawerLayout.js +++ b/src/drawer/ExNavigationDrawerLayout.js @@ -11,7 +11,7 @@ import { TouchableWithoutFeedback, View, } from 'react-native'; -import DrawerLayout from 'react-native-drawer-layout'; +import DrawerLayout from 'react-native-drawer-layout-polyfill'; import TouchableNativeFeedbackSafe from '@expo/react-native-touchable-native-feedback-safe';