Created
March 24, 2017 18:29
-
-
Save sankalpsingha/a1812547d985dc6e6cc498189c52f402 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { Component } from 'react'; | |
import { View } from 'react-native'; | |
import { createStore, applyMiddleware } from 'redux'; | |
import { logger } from 'redux-logger'; | |
import { Provider } from 'react-redux'; | |
import Reducers from './reducers/'; | |
import LoginForm from './components/LoginForm'; | |
class App extends Component { | |
render() { | |
return ( | |
<Provider store={createStore(Reducers, applyMiddleware(logger))}> | |
<View> | |
<LoginForm /> | |
</View> | |
</Provider> | |
); | |
} | |
} | |
export default App; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment