-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathApp.js
More file actions
70 lines (68 loc) · 2.13 KB
/
App.js
File metadata and controls
70 lines (68 loc) · 2.13 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
import React from 'react';
import { NavigationContainer } from '@react-navigation/native';
import { createNativeStackNavigator } from '@react-navigation/native-stack';
import HomeScreen from "./src/component/HomeSreen";
// import Home from "./src/component/Home";
import HoatDong from './src/component/Activity';
import MainApp from "./src/component/MainApp"
import Login from "./src/component/Login"
import DatHang from "./src/component/Order"
import ProductDetail from './src/component/ProductDetail';
import Other from './src/component/Other';
import Otp from './src/component/Otp';
const Stack = createNativeStackNavigator();
export default function App() {
return (
<NavigationContainer>
<Stack.Navigator initialRouteName="Home">
<Stack.Screen
name="Login"
component={Login}
options={{ headerShown: false }}
/>
<Stack.Screen
name="HomeScreen"
component={HomeScreen}
// options={{ title: 'HomeScreen' }}
options={{ headerShown: false }}
/>
<Stack.Screen
name="MainApp"
component={MainApp}
// options={{ title: 'Back' }}
options={{ headerShown: false }}
/>
<Stack.Screen
name="HoatDong"
component={HoatDong}
// options={{ title: 'Back' }}
options={{ headerShown: false }}
/>
<Stack.Screen
name="DatHang"
component={DatHang}
// options={{ title: 'Back' }}
options={{ headerShown: false }}
/>
<Stack.Screen
name="ProductDetail"
component={ProductDetail}
// options={{ title: 'Back' }}
options={{ headerShown: false }}
/>
<Stack.Screen
name="Other"
component={Other}
// options={{ title: 'Back' }}
options={{ headerShown: false }}
/>
<Stack.Screen
name="Otp"
component={Otp}
// options={{ title: 'Back' }}
options={{ headerShown: false }}
/>
</Stack.Navigator>
</NavigationContainer>
);
}