import React from "react"; import { Icon } from "component/common"; class InviteList extends React.PureComponent { render() { const { invitees } = this.props; if (!invitees) { return null; } return (

{__("Invite History")}

{invitees.length === 0 && {__("You haven't invited anyone.")} } {invitees.length > 0 && {invitees.map((invitee, index) => { return ( ); })}
{__("Invitee Email")} {__("Invite Status")} {__("Reward")}
{invitee.email} {invitee.invite_accepted && } {invitee.invite_reward_claimed && }
}
); } } export default InviteList;