import React from 'react' import PropTypes from 'prop-types' import { FaAngleDown } from 'react-icons/lib/fa' import { blockExplorer } from 'utils' import Value from 'components/Value' import styles from './TransactionModal.scss' const TransactionModal = ({ transaction, ticker, currentTicker, toggleCurrencyProps: { setActivityModalCurrencyFilters, showCurrencyFilters, currencyName, currentCurrencyFilters, onCurrencyFilterClick } }) => (
{transaction.num_confirmations} {transaction.num_confirmations > 1 ? 'confirmations' : 'confirmation'}
blockExplorer.showTransaction(transaction.tx_hash)}>{transaction.tx_hash}
blockExplorer.showBlock(transaction.block_hash)}>{transaction.block_hash}