Created
April 9, 2019 06:13
-
-
Save tsh-code/d8e2112b704570dbf8b0697feeacafc1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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