-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathApp.js
More file actions
106 lines (101 loc) · 3.3 KB
/
Copy pathApp.js
File metadata and controls
106 lines (101 loc) · 3.3 KB
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
import React from "react";
import HomeScreen from "./src/screens/HomeScreen";
import LoginScreen from "./src/screens/LoginScreen";
import CustomerScreen from "./src/screens/CustomerScreen";
import InventoryScreen from "./src/screens/InventoryScreen";
import NotificationsScreen from "./src/screens/NotificationsScreen";
import OrderScreen from "./src/screens/OrderScreen";
import DeliveryScreen from "./src/screens/DeliveryScreen";
import InquiryScreen from "./src/screens/InquiryScreen";
import OrderItemScreen from "./src/screens/OrderItemScreen";
import OrderConfirmScreen from "./src/screens/OrderConfirmScreen";
import DeliveryItemScreen from "./src/screens/DeliveryItemScreen";
import DeliveryReturnScreen from "./src/screens/DeliveryReturnScreen";
import CustomerInformationScreen from "./src/screens/CustomerInformationScreen";
import { NavigationContainer } from "@react-navigation/native";
import { createStackNavigator } from "@react-navigation/stack";
const Stack = createStackNavigator();
export default function App() {
return (
<NavigationContainer>
<Stack.Navigator
initialRouteName="Login"
screenOptions={{
headerStyle: {
backgroundColor: "#40a8c4",
},
headerTintColor: "#fff",
headerTitleStyle: {
fontWeight: "bold",
},
}}
>
<Stack.Screen
name="Home"
component={HomeScreen}
options={{ title: "SALES" }}
/>
<Stack.Screen
name="Login"
component={LoginScreen}
options={{ title: "" }}
/>
<Stack.Screen
name="Customer"
component={CustomerScreen}
options={{ title: "Харилцагчид" }}
/>
<Stack.Screen
name="Inventory"
component={InventoryScreen}
options={{ title: "Бараа" }}
/>
<Stack.Screen
name="Notifications"
component={NotificationsScreen}
options={{ title: "Мэдээ" }}
/>
<Stack.Screen
name="Order"
component={OrderScreen}
options={{ title: "Захиалгын жагсаалт" }}
/>
<Stack.Screen
name="Delivery"
component={DeliveryScreen}
options={{ title: "Түгээлтүүд" }}
/>
<Stack.Screen
name="Inquiry"
component={InquiryScreen}
options={{ title: "Лавлагаа" }}
/>
<Stack.Screen
name="OrderItem"
component={OrderItemScreen}
options={{ title: "Бараа" }}
/>
<Stack.Screen
name="OrderConfirm"
component={OrderConfirmScreen}
options={{ title: "Захиалга" }}
/>
<Stack.Screen
name="DeliveryItem"
component={DeliveryItemScreen}
options={{ title: "Түгээлт" }}
/>
<Stack.Screen
name="DeliveryReturn"
component={DeliveryReturnScreen}
options={{ title: "Бараа буцаалт" }}
/>
<Stack.Screen
name="CustomerInformation"
component={CustomerInformationScreen}
options={{ title: "Харилцагчийн мэдээлэл" }}
/>
</Stack.Navigator>
</NavigationContainer>
);
}