16 lines
381 B
JavaScript
16 lines
381 B
JavaScript
import React from 'react';
|
|
import { Modal } from 'modal/modal';
|
|
|
|
class ModalTransactionFailed extends React.PureComponent {
|
|
render() {
|
|
const { closeModal } = this.props;
|
|
|
|
return (
|
|
<Modal isOpen contentLabel={__('Transaction failed')} onConfirmed={closeModal}>
|
|
{__('Transaction failed.')}:
|
|
</Modal>
|
|
);
|
|
}
|
|
}
|
|
|
|
export default ModalTransactionFailed;
|