move safe area view to native

This commit is contained in:
Eric Vicenti
2018-10-11 23:00:35 -07:00
parent d47236d040
commit 7c2a73608e
3 changed files with 6 additions and 1 deletions

View File

@@ -42,6 +42,7 @@
"hoist-non-react-statics": "^3.0.1",
"react-lifecycles-compat": "^3.0.4",
"react-native-gesture-handler": "^1.0.8",
"react-native-safe-area-view": "^0.11.0",
"react-native-screens": "^1.0.0-alpha.14"
},
"devDependencies": {

View File

@@ -15,4 +15,8 @@ module.exports = {
get withOrientation() {
return require('./withOrientation').default;
},
get SafeAreaView() {
return require('react-native-safe-area-view').default;
},
};

View File

@@ -6924,7 +6924,7 @@ react-native-gesture-handler@^1.0.8:
invariant "^2.2.2"
prop-types "^15.5.10"
react-native-safe-area-view@0.11.0:
react-native-safe-area-view@0.11.0, react-native-safe-area-view@^0.11.0:
version "0.11.0"
resolved "https://registry.yarnpkg.com/react-native-safe-area-view/-/react-native-safe-area-view-0.11.0.tgz#4f3dda43c2bace37965e7c6aef5fc83d4f19d174"
integrity sha512-N3nElaahu1Me2ltnfc9acpgt1znm6pi8DSadKy79kvdzKwvVIzw0IXueA/Hjr51eCW1BsfNw7D1SgBT9U6qEkA==