mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-03-06 22:39:41 +08:00
move from react-native-drawer-layout to react-native-drawer-layout-polyfill
This enables us to use the native DrawerLayoutAndroid on android devices
This commit is contained in:
committed by
Satyajit Sahoo
parent
eb6646f6da
commit
af787e56fe
@@ -68,7 +68,7 @@
|
||||
"fbjs": "^0.8.5",
|
||||
"hoist-non-react-statics": "^1.2.0",
|
||||
"path-to-regexp": "^1.7.0",
|
||||
"react-native-drawer-layout": "^1.1.0",
|
||||
"react-native-drawer-layout-polyfill": "^1.0.4",
|
||||
"react-native-tab-view": "^0.0.56"
|
||||
},
|
||||
"jest": {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/* @flow */
|
||||
|
||||
import React, { PureComponent } from 'react';
|
||||
import DrawerLayout from 'react-native-drawer-layout';
|
||||
import DrawerLayout from 'react-native-drawer-layout-polyfill';
|
||||
|
||||
import addNavigationHelpers from '../../addNavigationHelpers';
|
||||
import DrawerNavigatorItems from './DrawerNavigatorItems';
|
||||
|
||||
12
yarn.lock
12
yarn.lock
@@ -3857,9 +3857,15 @@ react-native-dismiss-keyboard@1.0.0:
|
||||
version "1.0.0"
|
||||
resolved "https://registry.yarnpkg.com/react-native-dismiss-keyboard/-/react-native-dismiss-keyboard-1.0.0.tgz#32886242b3f2317e121f3aeb9b0a585e2b879b49"
|
||||
|
||||
react-native-drawer-layout@^1.1.0:
|
||||
version "1.1.1"
|
||||
resolved "https://registry.yarnpkg.com/react-native-drawer-layout/-/react-native-drawer-layout-1.1.1.tgz#71aa76793e2a8ee451c3e9d0b76b6092d881899c"
|
||||
react-native-drawer-layout-polyfill@^1.0.4:
|
||||
version "1.0.4"
|
||||
resolved "https://registry.yarnpkg.com/react-native-drawer-layout-polyfill/-/react-native-drawer-layout-polyfill-1.0.4.tgz#cb1cb2062efc4f22405ed5ce47b193ca90a5efd9"
|
||||
dependencies:
|
||||
react-native-drawer-layout "~1.1.3"
|
||||
|
||||
react-native-drawer-layout@~1.1.3:
|
||||
version "1.1.4"
|
||||
resolved "https://registry.yarnpkg.com/react-native-drawer-layout/-/react-native-drawer-layout-1.1.4.tgz#7f73f0f5d7225eacf14979b91109634bab20b5e6"
|
||||
dependencies:
|
||||
autobind-decorator "^1.3.2"
|
||||
react-native-dismiss-keyboard "1.0.0"
|
||||
|
||||
Reference in New Issue
Block a user