import React from "react"; import { CreditAmount, Icon } from "component/common"; import RewardLink from "component/rewardLink"; import Link from "component/link"; import rewards from "rewards"; const RewardTile = props => { const { reward } = props; const claimed = !!reward.transaction_id; return (

{reward.reward_title}

{reward.reward_description}
{reward.reward_type == rewards.TYPE_REFERRAL && } {reward.reward_type !== rewards.TYPE_REFERRAL && (claimed ? {__("Reward claimed.")} : )}
); }; export default RewardTile;