-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathStackNavigation.js
49 lines (47 loc) · 2.98 KB
/
StackNavigation.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
46
47
48
49
import React from 'react'
import { NavigationContainer } from '@react-navigation/native'
import { createNativeStackNavigator } from '@react-navigation/native-stack';
import HomeScreen from './screens/HomeScreen';
import PickUpScreen from './screens/PickUpScreen';
import CartScreen from './screens/CartScreen';
import LoginScreen from './screens/LoginScreen';
import RegisterScreen from './screens/RegisterScreen';
import ProfileScreen from './screens/ProfileScreen';
import OrderScreen from './screens/OrderScreen';
import CameraScreen from './screens/CameraScreen';
import ImagePickerScreen from './screens/ImagePickerScreen';
import SensorScreen from './screens/SensorScreen';
import FileSystemScreen from './screens/FileSystemScreen';
import AudioVideoScreen from './screens/AudioVideoScreen';
import WebBrowserScreen from './screens/WebBrowserScreen';
import MediaLibraryScreen from './screens/MediaLibraryScreen';
import BackgroundFetchScreen from './screens/BackgroundFetchScreen';
import SecureStoreScreen from './screens/SecureStoreScreen';
import NotificationScreen from './screens/NotificationScreen'
const StackNavigator = () => {
const Stack = createNativeStackNavigator();
return (
<NavigationContainer>
<Stack.Navigator>
<Stack.Screen name="Login" component={LoginScreen} options={{headerShown:false}}/>
<Stack.Screen name="Home" component={HomeScreen} options={{headerShown:false}}/>
<Stack.Screen name="PickUp" component={PickUpScreen} options={{headerShown:false}}/>
<Stack.Screen name="Cart" component={CartScreen} options={{headerShown:false}}/>
<Stack.Screen name="Register" component={RegisterScreen} options={{headerShown:false}}/>
<Stack.Screen name="Profile" component={ProfileScreen} options={{headerShown:false}}/>
<Stack.Screen name="Order" component={OrderScreen} options={{headerShown:false}}/>
<Stack.Screen name="Camera" component={CameraScreen} options={{headerShown:false}}/>
<Stack.Screen name="ImagePicker" component={ImagePickerScreen} options={{headerShown:false}}/>
<Stack.Screen name="SensorScreen" component={SensorScreen} options={{headerShown:false}}/>
<Stack.Screen name="FileSystemScreen" component={FileSystemScreen} options={{headerShown:false}}/>
<Stack.Screen name="AudioVideoScreen" component={AudioVideoScreen} options={{headerShown:false}}/>
<Stack.Screen name="WebBrowserScreen" component={WebBrowserScreen} options={{headerShown:false}}/>
<Stack.Screen name="MediaLibraryScreen" component={MediaLibraryScreen} options={{headerShown:false}}/>
<Stack.Screen name="BackgroundFetchScreen" component={BackgroundFetchScreen} options={{headerShown:false}}/>
<Stack.Screen name="SecureStoreScreen" component={SecureStoreScreen} options={{headerShown:false}}/>
<Stack.Screen name="NotificationScreen" component={NotificationScreen} options={{headerShown:false}}/>
</Stack.Navigator>
</NavigationContainer>
)
}
export default StackNavigator