-
-
Save sweatC/3943f14e0fcdd5de5775d8345c3bc393 to your computer and use it in GitHub Desktop.
Entry point. App component.
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 { Provider } from 'react-redux'; | |
import { Root } from 'native-base'; | |
import createAppStore from './createAppStore'; | |
import AppRouter from './AppRouter'; | |
const store = createAppStore(); | |
class App extends Component { | |
render() { | |
return ( | |
<Provider store={store}> | |
<Root> | |
<AppRouter /> | |
</Root> | |
</Provider> | |
) | |
} | |
} | |
export default App; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment