|
@@ -21,6 +21,8 @@ import { createStackNavigator, createAppContainer } from "react-navigation";
|
|
|
import MainActivity from "./pages/MainActivity";
|
|
|
import SchoolAge from "./pages/components/SchoolAge";
|
|
|
import MainPage from "./pages/components/MainPage";
|
|
|
+import SchedulePage from "./pages/components/SchedulePage";
|
|
|
+import PersonalInfo from "./pages/components/PersonalInfo";
|
|
|
const instructions = Platform.select({
|
|
|
ios: "Press Cmd+R to reload,\n" + "Cmd+D or shake for dev menu",
|
|
|
android:
|
|
@@ -32,11 +34,13 @@ const RootNavigator = createStackNavigator(
|
|
|
{
|
|
|
MainActivity: { screen: MainActivity },
|
|
|
SchoolAge: { screen: SchoolAge },
|
|
|
- MainPage: { screen: MainPage }
|
|
|
+ MainPage: { screen: MainPage },
|
|
|
+ SchedulePage: { screen: SchedulePage },
|
|
|
+ PersonalInfo: { screen: PersonalInfo }
|
|
|
},
|
|
|
{
|
|
|
- initialRouteName: "SchoolAge",
|
|
|
- headerMode: "none"
|
|
|
+ initialRouteName: "PersonalInfo",
|
|
|
+ headerMode: "null"
|
|
|
}
|
|
|
);
|
|
|
const App = createAppContainer(RootNavigator);
|