diff options
author | Leon Jiang <35908040+leonyjiang@users.noreply.github.com> | 2020-06-25 16:28:00 -0700 |
---|---|---|
committer | Leon Jiang <35908040+leonyjiang@users.noreply.github.com> | 2020-06-25 16:28:00 -0700 |
commit | bc8184b1a402af0c3e54edb79b38ed8e09a6798d (patch) | |
tree | 2ac23485a81086ab4e5df2989e2002c7e67cd56a /src/App.tsx | |
parent | 36a6781faad4380e7c401f32506707c0e48a15f5 (diff) |
cleanup file structure, add react-navigation & basic routes
Diffstat (limited to 'src/App.tsx')
-rw-r--r-- | src/App.tsx | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/App.tsx b/src/App.tsx new file mode 100644 index 00000000..6c247f7c --- /dev/null +++ b/src/App.tsx @@ -0,0 +1,23 @@ +/** + * Sample React Native App + * https://github.com/facebook/react-native + * + * Generated with the TypeScript template + * https://github.com/react-native-community/react-native-template-typescript + * + * @format + */ + +import React from 'react'; +import Routes from './routes'; +import {NavigationContainer} from '@react-navigation/native'; + +const App = () => { + return ( + <NavigationContainer> + <Routes /> + </NavigationContainer> + ); +}; + +export default App; |