// @flow import React from 'react'; import Icon from 'component/common/icon'; import RewardLink from 'component/rewardLink'; import Button from 'component/button'; import rewards from 'rewards'; import * as icons from 'constants/icons'; type Props = { reward: { id: string, reward_title: string, reward_amount: number, transaction_id: string, created_at: string, reward_description: string, reward_type: string, }, }; const RewardTile = (props: Props) => { const { reward } = props; const claimed = !!reward.transaction_id; return (
{reward.reward_title}
{reward.reward_description}
{reward.reward_type === rewards.TYPE_REFERRAL && (
); }; export default RewardTile;