Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
import React from 'react';
import { FormattedMessage } from 'react-intl';
export const UsersListRow = ({ user }) => (
<li>
<div>
<FormattedMessage tagName="strong" id="NAME" />
{`${user.firstName} ${user.lastName}`}
</div>
<div>
<FormattedMessage tagName="strong" id="EMAIL" />
{user.email}
</div>
</li>
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment