/** * @flow */ import React from 'react'; import { AppRegistry, AsyncStorage, Button, StyleSheet, Text, View, } from 'react-native'; import { NavigationActions, addNavigationHelpers, StackNavigator, } from 'react-navigation'; import { Provider, connect, } from 'react-redux'; import { createStore, combineReducers, } from 'redux'; import { persistStore, autoRehydrate, } from 'redux-persist'; const ProfileScreen = ({ navigation }) => ( Profile Screen ); ProfileScreen.navigationOptions = { title: 'Profile', }; const LoginScreen = ({ navigation }) => ( Screen A This is great