Skip to content

Instantly share code, notes, and snippets.

@jonhilt
Created June 9, 2018 20:04
Show Gist options
  • Save jonhilt/cc1d0b2ac870cd1d905b867718da67e6 to your computer and use it in GitHub Desktop.
Save jonhilt/cc1d0b2ac870cd1d905b867718da67e6 to your computer and use it in GitHub Desktop.
public render() {
return (
<div>
<h1>My Users</h1>
<table className="user-list">
<tbody>
{this.getUserData().map(user =>
<UserRow key={user.id} user={user} />)}
</tbody>
</table>
</div>
);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment