-
Notifications
You must be signed in to change notification settings - Fork 0
/
App.tsx
26 lines (23 loc) · 1.05 KB
/
App.tsx
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
import React from "react";
import { NavigationContainer } from "@react-navigation/native";
import { createNativeStackNavigator } from "@react-navigation/native-stack";
const Stack = createNativeStackNavigator();
import HomeScreen from "./src/screens/home";
import ContentScreen from "./src/screens/content";
import CCameraScreen from "./src/screens/camera";
import LibraryScreen from "./src/screens/library";
import ArScreen from "./src/screens/AR";
function App() {
return (
<NavigationContainer>
<Stack.Navigator>
<Stack.Screen name="Home" component={HomeScreen} options={{ title: "Trang chủ" }} />
<Stack.Screen name="Content" component={ContentScreen} options={{ title: "Nội dung" }} />
<Stack.Screen name="Camera" component={CCameraScreen} options={{ title: "Camera" }} />
<Stack.Screen name="Library" component={LibraryScreen} options={{ title: "Library" }} />
<Stack.Screen name="AR" component={ArScreen} options={{ title: "AR" }} />
</Stack.Navigator>
</NavigationContainer>
);
}
export default App;