import React from 'react' import PropTypes from 'prop-types' import Moment from 'react-moment' import 'moment-timezone' import { FaAngleDown } from 'react-icons/lib/fa' import Isvg from 'react-inlinesvg' import paperPlane from 'icons/paper_plane.svg' import zap from 'icons/zap.svg' import Value from 'components/Value' import styles from './PaymentModal.scss' const PaymentModal = ({ payment, ticker, currentTicker, toggleCurrencyProps: { setActivityModalCurrencyFilters, showCurrencyFilters, currencyName, currentCurrencyFilters, onCurrencyFilterClick } }) => (
Sent
Lightning Network
{currencyName} fee

0 && styles.active}`}>-

setActivityModalCurrencyFilters(!showCurrencyFilters)}> {currencyName}
    { currentCurrencyFilters.map(filter =>
  • onCurrencyFilterClick(filter.key)}>{filter.name}
  • ) }
{payment.creation_date * 1000}
) PaymentModal.propTypes = { payment: PropTypes.object.isRequired, ticker: PropTypes.object.isRequired, currentTicker: PropTypes.object.isRequired, toggleCurrencyProps: PropTypes.object.isRequired } export default PaymentModal