-
Notifications
You must be signed in to change notification settings - Fork 0
/
Route.js
38 lines (27 loc) · 1005 Bytes
/
Route.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
import { createAppContainer } from 'react-navigation';
import { createStackNavigator } from 'react-navigation-stack';
import HomePage from "./src/screens/Home";
import LoginPage from "./src/screens/login";
import SignupPage from "./src/screens/Signup";
import SplashPage from "./src/screens/Splash";
import PolicyPage from "./src/screens/Policy";
import CarouselPage from "./src/screens/Carousels";
import ProfilePage from "./src/screens/Profile";
import PaymentPlanPage from "./src/screens/PaymentPlan";
const MainNavigator = createStackNavigator({
Splash: { screen: SplashPage },
Home: { screen: HomePage },
LogIn: { screen: LoginPage },
SignUp: { screen: SignupPage },
Policy: { screen: PolicyPage },
Carousel: { screen: CarouselPage },
Profile: { screen: ProfilePage },
Payment: { screen: PaymentPlanPage },
},
{
initialRouteName: "Payment",
headerMode: "none",
}
);
const App = createAppContainer(MainNavigator);
export default App;