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 Value from 'components/Value' import styles from './PaymentModal.scss' const PaymentModal = ({ payment, ticker, currentTicker, toggleCurrencyProps: { setActivityModalCurrencyFilters, showCurrencyFilters, currencyName, currentCurrencyFilters, onCurrencyFilterClick } }) => { return (

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