import React, { PureComponent } from 'react'; import translate from 'translations'; import { SwapInput } from 'reducers/swap/types'; import './PaymentInfo.scss'; import { Input } from 'components/ui'; export interface Props { origin: SwapInput; paymentAddress: string | null; } export default class PaymentInfo extends PureComponent { public render() { const { origin } = this.props; return (

{translate('SWAP_SEND_TO', { $origin_amount: origin.amount.toString(), $origin_label: origin.label })}

); } }