Skip to content

Instantly share code, notes, and snippets.

@kellyrmilligan
Last active September 13, 2017 14:13
Show Gist options
  • Save kellyrmilligan/37b5f8cd3e1cc0eaaec7a80c3622081f to your computer and use it in GitHub Desktop.
Save kellyrmilligan/37b5f8cd3e1cc0eaaec7a80c3622081f to your computer and use it in GitHub Desktop.
const List = ({ items, onClick }) => (
<ul>
{items.map(item => (
<li>
{item.text}
</li>
))}
</ul>
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment