mirror of
https://github.com/status-im/react-native.git
synced 2025-01-09 09:12:02 +00:00
aba4ec0c09
Reviewed By: yungsters Differential Revision: D7962462 fbshipit-source-id: 0afe2092af8703895de91a6d1400315c3173aa6d
28 lines
596 B
JavaScript
28 lines
596 B
JavaScript
/**
|
|
* This is an example React Native app demonstrates ListViews, text input and
|
|
* navigation between a few screens.
|
|
* https://github.com/facebook/react-native
|
|
*
|
|
* @format
|
|
*/
|
|
|
|
import React, {Component} from 'react';
|
|
import {StackNavigator} from 'react-navigation';
|
|
|
|
import HomeScreenTabNavigator from './views/HomeScreenTabNavigator';
|
|
import ChatScreen from './views/chat/ChatScreen';
|
|
|
|
/**
|
|
* Top-level navigator. Renders the application UI.
|
|
*/
|
|
const App = StackNavigator({
|
|
Home: {
|
|
screen: HomeScreenTabNavigator,
|
|
},
|
|
Chat: {
|
|
screen: ChatScreen,
|
|
},
|
|
});
|
|
|
|
export default App;
|