// @flow import React from "react"; import Link from "component/link"; import { CreditAmount } from "component/common"; type Props = { unclaimedRewardAmount: number, }; const RewardSummary = (props: Props) => { const { unclaimedRewardAmount } = props; return (

{__("Rewards")}

{unclaimedRewardAmount > 0 ? (

{__("You have")}{" "} {" "} {__("in unclaimed rewards")}.

) : (

{__( "There are no rewards available at this time, please check back later" )}.

)}
); }; export default RewardSummary;