Skip to content

Instantly share code, notes, and snippets.

@tsh-code
Created April 9, 2019 06:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tsh-code/d8e2112b704570dbf8b0697feeacafc1 to your computer and use it in GitHub Desktop.
Save tsh-code/d8e2112b704570dbf8b0697feeacafc1 to your computer and use it in GitHub Desktop.
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