forked from fnjunior95/satisfying
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathApp.js
45 lines (40 loc) · 1.89 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 { createStackNavigator } from '@react-navigation/stack';
import { Provider } from 'react-redux';
import store from './src/redux/store';
import Login from './src/screens/Login';
import CreateAccount from './src/screens/CreateAccount';
import ForgotPassword from './src/screens/ForgotPassword';
import Home from './src/screens/Home';
import Drawer from './src/screens/Drawer';
import NovaPesquisa from './src/screens/NovaPesquisa';
import AcoesPesquisa from './src/screens/AcoesPesquisa';
import ModifySearch from './src/screens/ModifySearch';
import Coleta from './src/screens/Coleta';
import Agradecimento from './src/screens/Agradecimento';
import Relatorio from './src/screens/Relatorio';
import { Provider } from 'react-redux';
import store from './src/redux/store';
const Stack = createStackNavigator();
const App = () => {
return (
<Provider store={store}>
<NavigationContainer>
<Stack.Navigator initialRouteName='Login' screenOptions={{ headerShown: false, headerBackVisible: false }}>
<Stack.Screen name='Login' component={Login} />
<Stack.Screen name='CreateAccount' component={CreateAccount} />
<Stack.Screen name='ForgotPassword' component={ForgotPassword} />
<Stack.Screen name='Drawer' component={Drawer} />
<Stack.Screen name='Home' component={Home} />
<Stack.Screen name='NovaPesquisa' component={NovaPesquisa} />
<Stack.Screen name='AcoesPesquisa' component={AcoesPesquisa} />
<Stack.Screen name='ModifySearch' component={ModifySearch} />
<Stack.Screen name='Coleta' component={Coleta} />
<Stack.Screen name='Agradecimento' component={Agradecimento} />
<Stack.Screen name='Relatorio' component={Relatorio} />
</Stack.Navigator>
</NavigationContainer>
</Provider>
);
};
export default App;