forked from kaprijela/zobro2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
navigation.js
30 lines (26 loc) · 1.04 KB
/
navigation.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 { StackNavigator } from 'react-navigation';
import AboutScene from './scenes/aboutScene';
import VisitorsScene from './scenes/visitorsScene';
import ServicesScene from './scenes/servicesScene';
import GameScene from './scenes/gameScene';
import EventsScene from './containers/eventsScene';
import MenuScene from './scenes/menuScene';
import AnimalListScene from './containers/animalListScene';
import AnimalScene from './containers/animalScene';
import QRScene from './containers/qrScene';
import { scenes } from './scenes.js';
const zobro2 = StackNavigator({
[scenes.MAIN_MENU]: { screen: MenuScene },
[scenes.ANIMAL_DETAIL]: { screen: AnimalScene },
[scenes.ANIMAL_LIST]: { screen: AnimalListScene },
[scenes.ABOUT]: { screen: AboutScene },
[scenes.EVENTS]: { screen: EventsScene },
[scenes.SERVICES]: { screen: ServicesScene },
[scenes.GAME]: { screen: GameScene },
[scenes.VISITORS]: { screen: VisitorsScene },
[scenes.QR_READER]: { screen: QRScene},
}, {
initialRouteName: scenes.MAIN_MENU,
mode: 'modal'
});
export default zobro2;