Skip to content

Instantly share code, notes, and snippets.

@johnnykoo84
Created April 17, 2019 14:54
Show Gist options
  • Save johnnykoo84/f90b7b5aca28daf571c4286a5fdd6d0c to your computer and use it in GitHub Desktop.
Save johnnykoo84/f90b7b5aca28daf571c4286a5fdd6d0c to your computer and use it in GitHub Desktop.
render() {
const { currentArticles, currentCategory } = this.state;
return (
<div className="App">
<Tabs
categories={this.categories}
currentCategory={currentCategory}
changeCurrentCategory={this.changeCurrentCategory}
/>
</div>
);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment