-
Notifications
You must be signed in to change notification settings - Fork 0
/
App.tsx
26 lines (23 loc) · 858 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
import React from 'react';
import {NavigationContainer} from '@react-navigation/native';
import DrawerNavigator from './src/utils/DrawerNavigator';
import {Map} from './src/screens/Map';
import {createStackNavigator} from '@react-navigation/stack';
import {RecoilRoot} from 'recoil';
import LocationSelection from './src/screens/LocationSelection';
const Stack = createStackNavigator();
function App() {
return (
<RecoilRoot>
<NavigationContainer>
<Stack.Navigator screenOptions={{headerShown: false}}>
<Stack.Screen name="Map" component={Map} />
<Stack.Screen name="Selection" component={LocationSelection} />
<Stack.Screen name="Home" component={DrawerNavigator} />
</Stack.Navigator>
{/* <DrawerNavigator /> */}
</NavigationContainer>
</RecoilRoot>
);
}
export default App;