Commit f0e017df authored by zhuchuanyong's avatar zhuchuanyong

feat: rn-navigation

parent 8ca425bc
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Author: zhuchuanyong * @Author: zhuchuanyong
* @Date: 2021-01-22 15:13:57 * @Date: 2021-01-22 15:13:57
* @LastEditors: zhuchuanyong * @LastEditors: zhuchuanyong
* @LastEditTime: 2021-01-22 15:29:34 * @LastEditTime: 2021-01-25 17:18:15
* @FilePath: \App.tsx * @FilePath: \App.tsx
*/ */
/** /**
...@@ -14,16 +14,15 @@ ...@@ -14,16 +14,15 @@
* *
* @format * @format
*/ */
import {Button} from '@ant-design/react-native';
import React from 'react'; import React from 'react';
import StackNavigation from './src/router/StackNavigation';
declare const global: {HermesInternal: null | {}}; declare const global: {HermesInternal: null | {}};
const App = () => { const App = () => {
return ( return (
<> <>
<Button>default</Button> <StackNavigation />
</> </>
); );
}; };
......
/** /**
* @format * @format
*/ */
import 'react-native-gesture-handler';
import {AppRegistry} from 'react-native'; import {AppRegistry} from 'react-native';
import App from './App'; import App from './App';
import {name as appName} from './app.json'; import {name as appName} from './app.json';
......
...@@ -13,12 +13,19 @@ ...@@ -13,12 +13,19 @@
"@ant-design/react-native": "^4.0.7", "@ant-design/react-native": "^4.0.7",
"@react-native-community/async-storage": "^1.12.1", "@react-native-community/async-storage": "^1.12.1",
"@react-native-community/cameraroll": "^4.0.1", "@react-native-community/cameraroll": "^4.0.1",
"@react-native-community/masked-view": "^0.1.10",
"@react-native-community/segmented-control": "^2.2.2", "@react-native-community/segmented-control": "^2.2.2",
"@react-native-community/slider": "^3.0.3", "@react-native-community/slider": "^3.0.3",
"@react-native-community/viewpager": "^4.2.2", "@react-native-community/viewpager": "^4.2.2",
"@react-native-picker/picker": "^1.9.10", "@react-native-picker/picker": "^1.9.10",
"@react-navigation/native": "^5.9.2",
"@react-navigation/stack": "^5.14.1",
"react": "16.13.1", "react": "16.13.1",
"react-native": "0.63.4" "react-native": "0.63.4",
"react-native-gesture-handler": "^1.9.0",
"react-native-reanimated": "^1.13.2",
"react-native-safe-area-context": "^3.1.9",
"react-native-screens": "^2.15.2"
}, },
"devDependencies": { "devDependencies": {
"@babel/core": "^7.8.4", "@babel/core": "^7.8.4",
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment