-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.js
31 lines (23 loc) · 993 Bytes
/
index.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
import { AppRegistry } from 'react-native';
import { YellowBox } from 'react-native';
import { StackNavigator, createStackNavigator } from 'react-navigation';
import LoginPage from './LoginPage';
import LiveMaps from './LiveMaps';
import SettingsPage from './SettingsPage';
import feltUncomfortable from './feltUncomfortable' ;
import HomePage from './HomePage';
import ReportPage from './ReportPage';
import RegistrationPage from './RegistrationPage';
YellowBox.ignoreWarnings(['Warning: isMounted(...) is deprecated', 'Module RCTImageLoader']);
const App = createStackNavigator({
LoginPage: { screen: LoginPage },
HomePage: { screen: HomePage },
ReportPage: { screen: ReportPage },
SettingsPage: { screen: SettingsPage },
LiveMaps: { screen: LiveMaps },
feltUncomfortable: {screen: feltUncomfortable},
RegistrationPage: {screen: RegistrationPage}
},
{initialRouteName: 'LoginPage'}
);
AppRegistry.registerComponent('pestofrontend_5', () => App);