// @flow import React from 'react'; import Button from 'component/button'; import { Form } from 'component/common/form'; import { Modal } from 'modal/modal'; type Props = { address: string, amount: number, closeModal: () => void, sendToAddress: (string, number) => void, }; class ModalConfirmTransaction extends React.PureComponent { onConfirmed() { const { closeModal, sendToAddress, amount, address } = this.props; sendToAddress(address, amount); closeModal(); } render() { const { amount, address, closeModal } = this.props; return (
this.onConfirmed()}>

{__('Sending: ')}

{amount} LBC

{__('To address: ')}

{address}

{__('Once the transaction is sent, it cannot be reversed.')}

); } } export default ModalConfirmTransaction;