import React from 'react' import PropTypes from 'prop-types' import FaAngleDown from 'react-icons/lib/fa/angle-down' import Isvg from 'react-inlinesvg' import paperPlane from 'icons/paper_plane.svg' import zap from 'icons/zap.svg' import Value from 'components/Value' import { FormattedDate, FormattedTime, FormattedMessage } from 'react-intl' import messages from './messages' import styles from './PaymentModal.scss' const PaymentModal = ({ item: payment, ticker, currentTicker, toggleCurrencyProps: { setActivityModalCurrencyFilters, showCurrencyFilters, currencyName, currentCurrencyFilters, onCurrencyFilterClick } }) => (
{' '} {currencyName}

0 ? styles.active : undefined}`}>-

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