text: import React, {Component} from 'react';
  import { StyleSheet } from 'react-native';
  import Ionicons from 'react-native-vector-icons/Ionicons';
  import { createStore, applyMiddleware, combineReducers } from 'redux';
  import { Provider } from 'react-redux';
  import thunk from 'redux-thunk';
  import Drawer from 'react-native-drawer';
  
  import * as reducers from '../reducers';
  import Nav from './nav';
  
  const createStoreWithMiddleware = applyMiddleware(thunk)(createStore);
  const reducer = combineReducers(reducers);
  const store = createStoreWithMiddleware(reducer);
  
  export default class App extends Component {
  	render() {
  		return (
  			<Provider store={store}>
  				<Nav />
  			</Provider>
  		);
  	}
  }
  