aboutsummaryrefslogtreecommitdiff
path: root/src/App.tsx
diff options
context:
space:
mode:
authorHusam Salhab <47015061+hsalhab@users.noreply.github.com>2020-06-26 12:53:50 -0400
committerGitHub <noreply@github.com>2020-06-26 12:53:50 -0400
commitcdbf153a09e20b3483926bf2cd80d600105fbeae (patch)
tree48cc1d99384455af3e8a4c688ca42666c47e1a8f /src/App.tsx
parent36a6781faad4380e7c401f32506707c0e48a15f5 (diff)
parent69bc5a72f72e847f42d8486ad29161f1e21239d3 (diff)
Merge pull request #7 from leonyjiang/tma58-react-navigation-setup
[TMA-58] Cleanup file structure & add react-navigation
Diffstat (limited to 'src/App.tsx')
-rw-r--r--src/App.tsx23
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;