-
Notifications
You must be signed in to change notification settings - Fork 1
/
App.tsx
28 lines (25 loc) · 968 Bytes
/
App.tsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
import {NavigationContainer} from '@react-navigation/native';
import {createNativeStackNavigator} from '@react-navigation/native-stack';
import Home from "./pages/Home";
import Tracking from "./pages/Tracking";
import Stats from "./pages/Stats";
import Submit from "./pages/Submit";
import Map from "./pages/Map";
const Stack = createNativeStackNavigator();
const App = () => {
return (
<NavigationContainer>
<Stack.Navigator
initialRouteName="Home"
screenOptions={{headerShown: false}}
>
<Stack.Screen name="Home" component={Home}/>
<Stack.Screen name="Stats" component={Stats}/>
<Stack.Screen name="Tracking" component={Tracking}/>
<Stack.Screen name="Map" component={Map}/>
<Stack.Screen name="Submit" component={Submit}/>
</Stack.Navigator>
</NavigationContainer>
);
};
export default App;