// @flow import * as React from 'react'; import Button from 'component/button'; import CreditAmount from 'component/common/credit-amount'; type Props = { unclaimedRewardAmount: number, }; const RewardSummary = (props: Props) => { const { unclaimedRewardAmount } = props; const hasRewards = unclaimedRewardAmount > 0; return (
{__('Rewards')}

{hasRewards ? ( {__('You have')}     {__('in unclaimed rewards')}. ) : ( {__('There are no rewards available at this time, please check back later')}. )}

{__('Read our')}{' '}

); }; export default RewardSummary;