Created
March 15, 2019 10:24
-
-
Save akmur/31ab201a24556480f3140ae1d3cd1f52 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 from 'react' | |
import ReactDOM from 'react-dom' | |
import './styles.css' | |
import User from './User' | |
import News from './News' | |
import Status from './Status' | |
import { Provider } from 'react-redux' | |
import store from './redux/stores/index.stores' | |
function App() { | |
return ( | |
<Provider store={store}> | |
<div className="App"> | |
<div className="App__status"> | |
<Status /> | |
</div> | |
<div className="App__user"> | |
<User /> | |
</div> | |
<div className="App__news"> | |
<News /> | |
</div> | |
</div> | |
</Provider> | |
) | |
} | |
const rootElement = document.getElementById('root') | |
ReactDOM.render(<App />, rootElement) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment