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';
......
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