Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
UserList template example
<article styleName='userList'>
<h1 styleName='title'>Friends</h1>
<ul styleName='users'>
<li styleName='user'>
<UserPreview user={1} compact={true} />
</li>
<li styleName='user'>
<UserPreview user={2} compact={true} />
</li>
<li styleName='user'>
<UserPreview user={3} compact={true} />
</li>
</ul>
</article>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment