cleanup dependencies, SafeAreaView moved to native

This commit is contained in:
Eric Vicenti
2018-10-11 23:02:38 -07:00
parent 89af1a6917
commit d34f883180
2 changed files with 5 additions and 9 deletions

View File

@@ -31,12 +31,7 @@
},
"dependencies": {
"@react-navigation/core": "^3.0.0-alpha.4",
"@react-navigation/native": "^3.0.0-alpha.3",
"react-lifecycles-compat": "^3",
"react-native-gesture-handler": "^1.0.0",
"react-native-safe-area-view": "0.11.0",
"react-native-screens": "^1.0.0-alpha.12",
"react-navigation-deprecated-tab-navigator": "1.3.0",
"@react-navigation/native": "^3.0.0-alpha.5",
"react-navigation-drawer": "1.0.0-alpha.3",
"react-navigation-stack": "1.0.0-alpha.14",
"react-navigation-tabs": "0.8.2"

View File

@@ -21,6 +21,10 @@ module.exports = {
return require('@react-navigation/native').withOrientation;
},
get SafeAreaView() {
return require('@react-navigation/native').SafeAreaView;
},
// Core
get createNavigator() {
return require('@react-navigation/core').createNavigator;
@@ -128,9 +132,6 @@ module.exports = {
get StackViewTransitionConfigs() {
return require('react-navigation-stack').StackViewTransitionConfigs;
},
get SafeAreaView() {
return require('react-native-safe-area-view').default;
},
// Header
get Header() {