import React, {Component} from 'react' import PropTypes from 'prop-types' import CurrencyDisplay from '../../../../send/currency-display' export default class GasFeeDisplay extends Component { render() { const { conversionRate, gasTotal, onClick, primaryCurrency = 'ETH', convertedCurrency, gasLoadingError, } = this.props return (
{gasTotal ? : gasLoadingError ?
{this.context.t('setGasPrice')}
:
{this.context.t('loading')}
}
) } } GasFeeDisplay.contextTypes = { t: PropTypes.func, }