// @flow import * as React from 'react'; import Button from 'component/button'; import I18nMessage from 'component/i18nMessage'; type Props = { uri: string, fileInfo: FileListItem, isInsufficientCredits: boolean, claimWasPurchased: boolean, }; function ClaimInsufficientCredits(props: Props) { const { isInsufficientCredits, fileInfo, claimWasPurchased } = props; if (fileInfo || !isInsufficientCredits || claimWasPurchased) { return null; } return (
, }} > The publisher has chosen to charge LBC to view this content. Your balance is currently too low to view it. Check out %reward_link% for free LBC or send more LBC to your wallet.
); } export default ClaimInsufficientCredits;