-
Notifications
You must be signed in to change notification settings - Fork 1
/
App.js
40 lines (34 loc) · 1.37 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
import React from "react";
import { NavigationContainer } from "@react-navigation/native";
import { createStackNavigator } from "@react-navigation/stack";
import Main from "./pages/Main";
import DrawerPage from "./pages/drawer";
import DetailScore from "./pages/drawer/DetailScore";
import Profile from "./pages/profile/Profile";
import Login from "./pages/profile/Login";
import LinePrac from "./pages/practice/LinePrac";
import WordPrac from "./pages/practice/WordPrac";
import LiterPrac from "./pages/practice/LiterPrac";
import SubLiter from "./pages/practice/LiterCanvas";
const Stack = createStackNavigator();
function App() {
return (
<NavigationContainer>
<Stack.Navigator
initialRouteName="MAIN"
screenOptions={{ headerShown: false }}
>
<Stack.Screen name="MAIN" component={Main} />
<Stack.Screen name="LITER" component={LiterPrac} />
<Stack.Screen name="DRAWER" component={DrawerPage} />
<Stack.Screen name="DETAILSCORE" component={DetailScore} />
<Stack.Screen name="SUBLITER" component={SubLiter} />
<Stack.Screen name="PROFILE" component={Profile} />
<Stack.Screen name="LOGIN" component={Login} />
<Stack.Screen name="LINE" component={LinePrac} />
<Stack.Screen name="WORD" component={WordPrac} />
</Stack.Navigator>
</NavigationContainer>
);
}
export default App;