Created
April 17, 2019 14:55
-
-
Save johnnykoo84/02865c9b2138d53bd2bee8b2bf7f7f9c 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
render() { | |
const { currentArticles, currentCategory } = this.state; | |
return ( | |
<div className="App"> | |
<Tabs | |
categories={this.categories} | |
currentCategory={currentCategory} | |
changeCurrentCategory={this.changeCurrentCategory} | |
/> | |
<Articles articles={currentArticles} /> | |
</div> | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment