-
Notifications
You must be signed in to change notification settings - Fork 0
/
App.js
128 lines (109 loc) · 5.88 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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
/**
* Sample React Native App
* https://github.com/facebook/react-native
*
* @format
* @flow strict-local
*/
import React from 'react';
import { NavigationContainer } from '@react-navigation/native';
import { createStackNavigator } from '@react-navigation/stack';
/**
* Common Screen Imports For Root Stack
*/
import SplashScreen from './src/screens/common/splash';
import LandingPage from './src/screens/common/landingPage';
import ForgotPassword from './src/screens/common/forgotpassword';
import AboutUs from './src/screens/common/aboutus';
import ContactUs from './src/screens/common/contactus';
import TermsAndCondition from './src/screens/common/termsandcondition';
import PrivacyPolicy from './src/screens/common/privacypolicy';
import RateApp from './src/screens/common/rateapp';
/**
* Seeker Imports For Root Stack
*/
import LoginSeeker from './src/screens/seeker/loginseeker';
import RegisterSeeker from './src/screens/seeker/registerseeker';
import OtpSeeker from './src/screens/seeker/otpverify';
import RegisterSkip from './src/screens/seeker/registerskip';
import MainTabSeeker from './src/screens/seeker/maintabseeker';
import ApplyForJobSeeker from './src/screens/seeker/applyforjobseeker';
import SettingSeeker from './src/screens/seeker/settingseeker';
/**
* Provider Imports For Root Stack
*/
import LoginProvider from './src/screens/provider/loginprovider';
import RegisterProvider from './src/screens/provider/registerprovider';
import OtpProvider from './src/screens/provider/otpverify';
import MainTabProvider from './src/screens/provider/maintabprovider';
import SettingProvider from './src/screens/provider/settingprovider';
import CreateJobProvider from './src/screens/provider/createjobprovider';
import EmployeeApplied from './src/screens/provider/employeeapllied';
/**
* Seller Imports For Root Stack
*/
import LoginSeller from './src/screens/seller/loginseller';
import RegisterSeller from './src/screens/seller/registerseller';
import OtpSeller from './src/screens/seller/otpverify';
import MainTabSeller from './src/screens/seller/maintabseller';
import FeaturedSeller from './src/screens/seller/featuredseller';
import BestSellSeller from './src/screens/seller/bestsellseller';
import FavouriteSeller from './src/screens/seller/favouriteseller';
import NotificationSeller from './src/screens/seller/notificationseller';
import ProductPageSeller from './src/screens/seller/productpageseller';
import ShippingSeller from './src/screens/seller/shippingseller';
import CreateAddressSeller from './src/screens/seller/createaddressseller';
import PaymentSeller from './src/screens/seller/paymentseller';
import CreateCardSeller from './src/screens/seller/createcardseller';
import CheckoutSeller from './src/screens/seller/checkoutseller';
import OrderCompletionSeller from './src/screens/seller/ordercompletionseller';
const RootStack = createStackNavigator();
const App = () =>{
return(
<NavigationContainer>
<RootStack.Navigator
screenOptions={{
headerShown: false
}}>
<RootStack.Screen name="SplashScreen" component={SplashScreen} />
<RootStack.Screen name="LandingPage" component={LandingPage} />
<RootStack.Screen name="ForgotPassword" component={ForgotPassword} />
<RootStack.Screen name="AboutUs" component={AboutUs} />
<RootStack.Screen name="ContactUs" component={ContactUs} />
<RootStack.Screen name="TermsAndCondition" component={TermsAndCondition} />
<RootStack.Screen name="PrivacyPolicy" component={PrivacyPolicy} />
<RootStack.Screen name="RateApp" component={RateApp} />
<RootStack.Screen name="LoginSeeker" component={LoginSeeker} />
<RootStack.Screen name="RegisterSeeker" component={RegisterSeeker} />
<RootStack.Screen name="OtpSeeker" component={OtpSeeker} />
<RootStack.Screen name="RegisterSkip" component={RegisterSkip} />
<RootStack.Screen name="MainTabSeeker" component={MainTabSeeker} />
<RootStack.Screen name="ApplyForJobSeeker" component={ApplyForJobSeeker} />
<RootStack.Screen name="SettingSeeker" component={SettingSeeker} />
<RootStack.Screen name="LoginProvider" component={LoginProvider} />
<RootStack.Screen name="RegisterProvider" component={RegisterProvider} />
<RootStack.Screen name="OtpProvider" component={OtpProvider} />
<RootStack.Screen name="MainTabProvider" component={MainTabProvider} />
<RootStack.Screen name="SettingProvider" component={SettingProvider} />
<RootStack.Screen name="CreateJobProvider" component={CreateJobProvider} />
<RootStack.Screen name="EmployeeApplied" component={EmployeeApplied} />
<RootStack.Screen name="LoginSeller" component={LoginSeller} />
<RootStack.Screen name="RegisterSeller" component={RegisterSeller} />
<RootStack.Screen name="OtpSeller" component={OtpSeller} />
<RootStack.Screen name="MainTabSeller" component={MainTabSeller} />
<RootStack.Screen name="FeaturedSeller" component={FeaturedSeller} />
<RootStack.Screen name="BestSellSeller" component={BestSellSeller} />
<RootStack.Screen name="FavouriteSeller" component={FavouriteSeller} />
<RootStack.Screen name="NotificationSeller" component={NotificationSeller} />
<RootStack.Screen name="ProductPageSeller" component={ProductPageSeller} />
<RootStack.Screen name="ShippingSeller" component={ShippingSeller} />
<RootStack.Screen name="CreateAddressSeller" component={CreateAddressSeller} />
<RootStack.Screen name="PaymentSeller" component={PaymentSeller} />
<RootStack.Screen name="CreateCardSeller" component={CreateCardSeller} />
<RootStack.Screen name="CheckoutSeller" component={CheckoutSeller} />
<RootStack.Screen name="OrderCompletionSeller" component={OrderCompletionSeller} />
</RootStack.Navigator>
</NavigationContainer>
)
}
export default App;