Created
February 26, 2017 13:27
-
-
Save brookslyrette/ab55b7abdd9a3a1049e678e0d39f1257 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 { | |
AppRegistry, | |
StyleSheet, | |
View | |
} from 'react-native'; | |
import { Provider } from 'react-redux'; | |
import { connect } from 'react-redux'; | |
import store from './store/store.js'; | |
import CounterContainer from './containers/CounterContainer.js'; | |
export default class App extends Component { | |
render() { | |
return ( | |
<Provider store={store}> | |
<View style={styles.container}> | |
<CounterContainer/> | |
</View> | |
</Provider> | |
); | |
} | |
} | |
const styles = StyleSheet.create({ | |
container: { | |
flex: 1, | |
justifyContent: 'center', | |
alignItems: 'center', | |
}, | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment