-
Notifications
You must be signed in to change notification settings - Fork 5
/
App.js
91 lines (86 loc) · 2.86 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
import { StatusBar } from "expo-status-bar";
import {
StyleSheet,
Text,
View,
SafeAreaView,
TouchableOpacity,
Image,
} from "react-native";
import LoginSVG from "./assets/images/girl.svg";
import Create from "./screens/Create";
import LoginScreen from "./screens/LoginScreen";
import Login from "./screens/Login";
import { NavigationContainer } from "@react-navigation/native";
import { createNativeStackNavigator } from "@react-navigation/native-stack";
import Shops from "./screens/Shops";
import Homescreen from "./screens/Homescreen";
import ProductsDetails from "./Components/ProductsDetails";
import Cart from "./Components/Cart";
import ShoeScreen from "./screens/ShoeScreen";
import PhoneScreen from "./screens/PhoneScreen";
import CosmeticScreen from "./screens/CosmeticScreen";
import DressScreen from "./screens/DressScreen";
import MainContainer from "./screens/MainContainer";
import SelectScreen from "./screens/SelectScreen";
import {LogBox} from "react-native";
import SellerSignup from "./screens/SellerSignup";
import SellerLogin from "./screens/SellerLogin";
import SellerContainer from "./screens/SellerContainer";
LogBox.ignoreLogs([
"ViewPropTypes will be removed",
"ColorPropType will be removed",
])
const Stack = createNativeStackNavigator();
export default function App() {
return (
<NavigationContainer>
<Stack.Navigator>
<Stack.Screen
component={LoginScreen}
name="login"
options={{ headerShown: false }}
/>
<Stack.Screen
component={Create}
name="Create"
options={{ headerShown: false }}
/>
<Stack.Screen
component={Shops}
name="Shops"
options={{ headerShown: false }}
/>
<Stack.Screen
component={Login}
name="Login"
options={{ headerShown: false }}
/>
<Stack.Screen
component={MainContainer}
name="MainContainer"
options={{ headerShown: false }}
/>
<Stack.Screen
component={SellerContainer}
name="SellerContainer"
options={{ headerShown: false }}
/>
<Stack.Screen
component={ProductsDetails}
name="ProductsDetails"
options={{ headerShown: false }}
/>
<Stack.Screen component={Cart} name="Cart" />
<Stack.Screen component={ShoeScreen} name="Shoes" />
<Stack.Screen component={PhoneScreen} name="Phones" />
<Stack.Screen component={CosmeticScreen} name="Cosmetics" />
<Stack.Screen component={DressScreen} name="Dresses" />
<Stack.Screen component={SelectScreen} name="Select" />
<Stack.Screen component={SellerSignup} name="SellerSignup" />
<Stack.Screen component={SellerLogin} name="SellerLogin" />
</Stack.Navigator>
</NavigationContainer>
// <Create/>
);
}