-
Notifications
You must be signed in to change notification settings - Fork 0
/
App.js
38 lines (28 loc) · 908 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
31
32
33
34
35
36
37
38
import { AppRegistry } from 'react-native';
import Login from './login';
import Splash from './splash';
import React, { Component } from 'react';
import { createAppContainer, } from 'react-navigation';
import { createStackNavigator } from 'react-navigation-stack';
import Todo from './todo';
import Intro from './intro';
import AddScreen from './add';
import TabPage from './tabpage';
import CalendarsScreen from './calender';
import AgendaScreen from './AgendaScreen';
const MainNavigator = createStackNavigator({
Login: { screen: Login },
Splash: { screen: Splash },
TabPage: { screen: TabPage },
Intro: { screen: Intro },
Todo: { screen: Todo },
CalendarsScreen: { screen: CalendarsScreen },
AddScreen: { screen: AddScreen },
AgendaScreen: { screen: AgendaScreen },
},
{
initialRouteName: 'Splash',
},
);
const App = createAppContainer(MainNavigator);
export default App;