-
Notifications
You must be signed in to change notification settings - Fork 0
/
App.js
33 lines (28 loc) · 1.15 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
import React from "react";
import HomePage from "./Screen/HomePage.js";
import Connexion from "./Screen/Connexion";
import MotDePasseOublie from "./Screen/MotDePasseOublie"
import Inscription from "./Screen/Inscription";
import AccueilUtilisateur from "./Screen/AccueilUtilisateur";
import "react-native-gesture-handler";
import { NavigationContainer } from "@react-navigation/native";
import { createStackNavigator } from "@react-navigation/stack";
import { Provider } from "react-redux";
import Store from "./Store/ConfigStore";
const Stack = createStackNavigator();
const App = () => {
return (
<Provider store={Store}>
<NavigationContainer>
<Stack.Navigator>
<Stack.Screen name = "HomePage" component = {HomePage} />
<Stack.Screen name = "LoginScreen" component = {Connexion} />
<Stack.Screen name = "ForgotPW" component = {MotDePasseOublie} />
<Stack.Screen name = "UserHomePage" component = {AccueilUtilisateur} />
<Stack.Screen name = "Registerscreen" component = {Inscription} />
</Stack.Navigator>
</NavigationContainer>
</Provider>
);
};
export default App;