// @flow import * as TXN_TYPES from 'constants/transaction_types'; import * as ICONS from 'constants/icons'; import React from 'react'; import ButtonTransaction from 'component/common/transaction-link'; import CreditAmount from 'component/common/credit-amount'; import DateTime from 'component/dateTime'; import Button from 'component/button'; import { buildURI } from 'lbry-redux'; type Props = { transaction: Transaction, revokeClaim: (string, number) => void, isRevokeable: boolean, reward: ?{ reward_title: string, }, }; class TransactionListItem extends React.PureComponent { constructor() { super(); (this: any).abandonClaim = this.abandonClaim.bind(this); } getLink(type: string) { if (type === TXN_TYPES.TIP) { return )} {date ? (
) : ( {__('Pending')} )} ); } } export default TransactionListItem;