2017-02-02 11:26:36 +00:00
|
|
|
/**
|
|
|
|
* This is an example React Native app demonstrates ListViews, text input and
|
|
|
|
* navigation between a few screens.
|
|
|
|
* https://github.com/facebook/react-native
|
2018-05-11 19:43:49 +00:00
|
|
|
*
|
|
|
|
* @format
|
2017-02-02 11:26:36 +00:00
|
|
|
*/
|
|
|
|
|
2018-05-11 19:43:49 +00:00
|
|
|
import React, {Component} from 'react';
|
|
|
|
import {StackNavigator} from 'react-navigation';
|
2017-02-02 11:26:36 +00:00
|
|
|
|
2017-08-03 20:52:06 +00:00
|
|
|
import HomeScreenTabNavigator from './views/HomeScreenTabNavigator';
|
|
|
|
import ChatScreen from './views/chat/ChatScreen';
|
2017-02-02 11:26:36 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Top-level navigator. Renders the application UI.
|
|
|
|
*/
|
2017-08-03 20:52:06 +00:00
|
|
|
const App = StackNavigator({
|
2017-02-02 11:26:36 +00:00
|
|
|
Home: {
|
|
|
|
screen: HomeScreenTabNavigator,
|
|
|
|
},
|
|
|
|
Chat: {
|
|
|
|
screen: ChatScreen,
|
|
|
|
},
|
|
|
|
});
|
|
|
|
|
2017-08-03 20:52:06 +00:00
|
|
|
export default App;
|