-
Notifications
You must be signed in to change notification settings - Fork 1
/
App.js
103 lines (100 loc) · 2.48 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
import React from 'react';
import "react-native-gesture-handler";
import { StyleSheet, Text, View } from 'react-native';
import { NavigationContainer } from '@react-navigation/native';
import { createDrawerNavigator } from '@react-navigation/drawer';
import { createStackNavigator } from '@react-navigation/stack';
import { SafeAreaProvider } from 'react-native-safe-area-context';
import { TailwindProvider } from 'tailwindcss-react-native';
import { Provider } from 'react-redux';
import { store } from './store';
// Screens
import HomeScreen from './screens/HomeScreen';
import Signup from './screens/Login';
import SignIn from './screens/Register';
import Profile from './screens/Profile';
import uploads from './screens/uploads';
import Drawer from "./screens/Drawer";
import CameraComponent from './screens/Camera';
import MapScreen from './screens/MapScreen';
import Footer from './screens/Footer';
import adminuser from './screens/adminuser';
import AuthFooter from './screens/AuthFooter';
import AuthMap from './screens/AuthMap';
const Stack = createStackNavigator();
const App = () => (
<Provider store={store}>
<NavigationContainer>
<SafeAreaProvider>
<TailwindProvider>
<Stack.Navigator>
<Stack.Screen
name="HomeScreen"
component={HomeScreen}
options={{
headerShown: false,
}}
/>
<Stack.Screen
name="adminuser"
component={adminuser}
options={{
headerShown: false,
}}
/>
<Stack.Screen
name="AuthFooter"
component={AuthFooter}
options={{
headerShown: false,
}}
/>
<Stack.Screen
name="AuthMap"
component={AuthMap}
options={{
headerShown: false,
}}
/>
<Stack.Screen
name="Signup"
component={Signup}
options={{
headerShown: false,
}}
/>
<Stack.Screen
name="SignIn"
component={SignIn}
options={{
headerShown: false,
}}
/>
<Stack.Screen
name="Footer"
component={Footer}
options={{
headerShown: false,
}}
/>
<Stack.Screen
name="MapScreen"
component={MapScreen}
options={{
headerShown: false,
}}
/>
<Stack.Screen
name="CameraComponent"
component={CameraComponent}
options={{
headerShown: false,
}}
/>
</Stack.Navigator>
</TailwindProvider>
</SafeAreaProvider>
</NavigationContainer>
</Provider>
);
export default App;