mirror of
https://github.com/status-im/react-native.git
synced 2025-01-20 22:39:20 +00:00
ab81db65c5
Reviewed By: mkonicek Differential Revision: D4522116 Ninja: oss only fbshipit-source-id: d17e0e8badcfe97eaea092e5d5274e02904a534d
28 lines
609 B
JavaScript
28 lines
609 B
JavaScript
'use strict';
|
|
|
|
/**
|
|
* This is an example React Native app demonstrates ListViews, text input and
|
|
* navigation between a few screens.
|
|
* https://github.com/facebook/react-native
|
|
*/
|
|
|
|
import React, { Component } from 'react';
|
|
import { StackNavigator } from 'react-navigation';
|
|
|
|
import HomeScreenTabNavigator from './HomeScreenTabNavigator';
|
|
import ChatScreen from './chat/ChatScreen';
|
|
|
|
/**
|
|
* Top-level navigator. Renders the application UI.
|
|
*/
|
|
const MainNavigator = StackNavigator({
|
|
Home: {
|
|
screen: HomeScreenTabNavigator,
|
|
},
|
|
Chat: {
|
|
screen: ChatScreen,
|
|
},
|
|
});
|
|
|
|
export default MainNavigator;
|