This repository has been archived by the owner on Aug 25, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
App.js
45 lines (33 loc) · 1.83 KB
/
App.js
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
import { NavigationContainer } from '@react-navigation/native';
import { createNativeStackNavigator } from '@react-navigation/native-stack';
import { enableLatestRenderer } from 'react-native-maps';
enableLatestRenderer();
import HomeView from './views/HomeView.js';
import MenuView from './views/MenuView.js';
import StatisticsView from './views/StatisticsView.js';
import ScanView from './views/ScanView.js';
import MapMenuView from './views/MapMenuView.js';
import MapGeneralView from './views/MapGeneralView.js';
import MapSpecimenView from './views/MapSpecimenView.js';
import MapEvolView from './views/MapEvolView.js';
import WikiListView from './views/WikiListView.js';
import WikiPlantView from './views/WikiPlantView.js';
const Stack = createNativeStackNavigator();
export default function App() {
return (
<NavigationContainer >
<Stack.Navigator>
<Stack.Screen name="home" component={HomeView} options={{ headerShown: false }} />
<Stack.Screen name="menu" component={MenuView} options={{ headerShown: false }} />
<Stack.Screen name="statistics" component={StatisticsView} options={{ headerShown: false }} />
<Stack.Screen name="scan" component={ScanView} options={{ headerShown: false }} />
<Stack.Screen name="map-menu" component={MapMenuView} options={{ headerShown: false }} />
<Stack.Screen name="map-general" component={MapGeneralView} options={{ headerShown: false }} />
<Stack.Screen name="map-specimen" component={MapSpecimenView} options={{ headerShown: false }} />
<Stack.Screen name="map-evol" component={MapEvolView} options={{ headerShown: false }} />
<Stack.Screen name="wiki-list" component={WikiListView} options={{ headerShown: false }} />
<Stack.Screen name="wiki-plant" component={WikiPlantView} options={{ headerShown: false }} />
</Stack.Navigator>
</NavigationContainer>
);
}