1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-12 12:47:14 +01:00
metamask-extension/ui/app/components/modals/transaction-confirmed/transaction-confirmed.component.js

25 lines
558 B
JavaScript
Raw Normal View History

2018-05-31 01:17:40 +02:00
import React from 'react'
import PropTypes from 'prop-types'
2018-05-31 01:17:40 +02:00
const TransactionConfirmed = (props, context) => {
const { t } = context
2018-05-31 01:17:40 +02:00
return (
<div className="modal-container__content">
<img src="images/check-icon.svg" />
<div className="modal-container__title">
{ `${t('confirmed')}!` }
</div>
2018-05-31 01:17:40 +02:00
<div className="modal-container__description">
{ t('initialTransactionConfirmed') }
</div>
</div>
)
}
TransactionConfirmed.contextTypes = {
t: PropTypes.func,
}
export default TransactionConfirmed