mirror of
https://github.com/status-im/react-native.git
synced 2025-01-09 17:15:54 +00:00
224d29447f
Summary: - [x] Explain the **motivation** for making this change. It fixes #14313 Closes https://github.com/facebook/react-native/pull/14495 Differential Revision: D6042094 Pulled By: hramos fbshipit-source-id: d70e42bfee0a22882bad91cb885fb0cfc91c7d38
26 lines
586 B
JavaScript
26 lines
586 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
|
|
*/
|
|
|
|
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;
|