Skip to content

Instantly share code, notes, and snippets.

@doug2k1
Created September 28, 2016 03:52
Show Gist options
  • Save doug2k1/518a6842082694b2c742c804370bd117 to your computer and use it in GitHub Desktop.
Save doug2k1/518a6842082694b2c742c804370bd117 to your computer and use it in GitHub Desktop.
const UserList = (props) => {
return (
<ul>
{props.users.map(user => <li key={user.id}>{user.name}</li>)}
</ul>
);
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment