-
Notifications
You must be signed in to change notification settings - Fork 1
/
App.js
30 lines (27 loc) · 867 Bytes
/
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
import { createAppContainer } from "react-navigation";
import { createStackNavigator } from "react-navigation-stack";
import Home from "./Screens/Home";
import Introduction from "./Screens/Introduction.js";
import Options from "./Screens/Options.js";
import Details from "./Screens/Details.js";
import SubOption from "./Screens/SubOption.js";
import Writestory from "./Screens/Writestory.js";
const AppNavigator = createStackNavigator(
{
Home: { screen: Home },
Introduction: { screen: Introduction },
Options: { screen: Options },
Details: { screen: Details },
SubOption: { screen: SubOption },
Writestory: { screen: Writestory },
},
{
initialRouteName: "Home",
defaultNavigationOptions: {
headerShown: false,
gestureEnabled: false,
},
}
);
const App = createAppContainer(AppNavigator);
export default App;