forked from sunnygleason/chatengine-react-native-sample
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathApp.js
More file actions
27 lines (23 loc) · 695 Bytes
/
App.js
File metadata and controls
27 lines (23 loc) · 695 Bytes
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
/**
* Sample React Native App
* https://github.com/facebook/react-native
* @flow
*/
import React from 'react';
import {StackNavigator, SwitchNavigator} from 'react-navigation';
import AppLoadingScreen from "./lib/ex-screen-apploading";
import LoginScreen from "./lib/ex-screen-login";
import ApplicationScreen from "./lib/ex-screen-application";
import ChatListScreen from "./lib/ex-screen-chatlist";
console.ignoredYellowBox = ["Setting a timer"];
export default SwitchNavigator(
{
AppLoading: AppLoadingScreen,
Login: LoginScreen,
ChatList: ChatListScreen,
Application: ApplicationScreen
},
{
initialRouteName: 'AppLoading',
}
);