1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-04 23:14:56 +01:00
metamask-extension/ui/app/components/modals/welcome-beta/welcome-beta.component.js

31 lines
597 B
JavaScript
Raw Normal View History

2018-05-31 01:17:40 +02:00
import React from 'react'
import PropTypes from 'prop-types'
import Modal, { ModalContent } from '../../modal'
2018-05-31 01:17:40 +02:00
const TransactionConfirmed = (props, context) => {
const { t } = context
const { hideModal } = props
2018-05-31 01:17:40 +02:00
return (
<Modal
onSubmit={() => hideModal()}
submitText={t('ok')}
>
<ModalContent
title={t('uiWelcome')}
description={t('uiWelcomeMessage')}
/>
</Modal>
2018-05-31 01:17:40 +02:00
)
}
TransactionConfirmed.contextTypes = {
t: PropTypes.func,
}
TransactionConfirmed.propTypes = {
hideModal: PropTypes.func,
}
2018-05-31 01:17:40 +02:00
export default TransactionConfirmed