Skip to content

Instantly share code, notes, and snippets.

@gmas
Created April 12, 2016 16:40
Show Gist options
  • Save gmas/514145cf2ba226aef9bb5ff99083b66b to your computer and use it in GitHub Desktop.
Save gmas/514145cf2ba226aef9bb5ff99083b66b to your computer and use it in GitHub Desktop.
render(): React.Element {
return (
<div className="span8 rightcontent">
<div className="row">
{ this.props.contents.length > 0 ?
this.props.contents.forEach((content) => {
<ContentsPendingItem {...content} />
})
<div className="row">
{this.renderPaginator()}
</div>
:
null }
</div>
</div>
)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment