-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathApp.js
24 lines (19 loc) · 863 Bytes
/
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
import React, { useState, useEffect } from 'react';
import { NavigationContainer } from '@react-navigation/native';
import { createNativeStackNavigator } from '@react-navigation/native-stack';
import SelectScreen from './screens/SelectScreen';
import CameraScreen from './screens/CameraScreen';
import {PhotoScreen} from './screens/PhotoScreen';
const Stack = createNativeStackNavigator();
function App() {
return (
<NavigationContainer initialRouteName="AR">
<Stack.Navigator>
<Stack.Screen name="Select" component={SelectScreen} initialParams={{ list: [], completedLocations: [false, false, false] }}/>
<Stack.Screen options={{headerShown: false}} name="Camera" component={CameraScreen}/>
<Stack.Screen name="Photo" component={PhotoScreen}/>
</Stack.Navigator>
</NavigationContainer>
);
}
export default App;