mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-02-11 22:33:32 +08:00
Bump navigator dependencies to alpha versions
This commit is contained in:
@@ -1,7 +1,10 @@
|
||||
import { Platform } from 'react-native';
|
||||
import { useScreens } from 'react-native-screens';
|
||||
|
||||
// Uncomment this to use react-native-screens
|
||||
// useScreens();
|
||||
// if (Platform.OS === 'android') {
|
||||
// useScreens();
|
||||
// }
|
||||
|
||||
import App from './js/App';
|
||||
export default App;
|
||||
|
||||
@@ -23,4 +23,4 @@
|
||||
"package": "com.reactnavigation.example"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -22,7 +22,7 @@ const MyNavScreen = ({ navigation, banner }) => (
|
||||
onPress={() => navigation.navigate('Email')}
|
||||
title="Open other screen"
|
||||
/>
|
||||
<Button onPress={() => navigation.goBack(null)} title="Go back" />
|
||||
<Button onPress={() => navigation.navigate('Index')} title="Go back" />
|
||||
</SafeAreaView>
|
||||
<StatusBar barStyle="default" />
|
||||
</ScrollView>
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "react-navigation",
|
||||
"version": "2.17.0",
|
||||
"version": "3.0.0-alpha.5",
|
||||
"description": "Routing and navigation for your React Native apps",
|
||||
"main": "src/react-navigation.js",
|
||||
"repository": {
|
||||
@@ -37,10 +37,10 @@
|
||||
"query-string": "^6.1.0",
|
||||
"react-lifecycles-compat": "^3",
|
||||
"react-native-safe-area-view": "0.11.0",
|
||||
"react-native-screens": "^1.0.0-alpha.11",
|
||||
"react-native-screens": "^1.0.0-alpha.12",
|
||||
"react-navigation-deprecated-tab-navigator": "1.3.0",
|
||||
"react-navigation-drawer": "0.5.0",
|
||||
"react-navigation-stack": "0.7.0",
|
||||
"react-navigation-drawer": "1.0.0-alpha.3",
|
||||
"react-navigation-stack": "1.0.0-alpha.14",
|
||||
"react-navigation-tabs": "0.8.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user