aboutsummaryrefslogblamecommitdiffstats
path: root/ui/app/components/modals/welcome-beta/welcome-beta.component.js
blob: ef17991645ebb37e5c50efffad88c0606cd71d6e (plain) (tree)
1
2
3
4
5
6
7
8
9

                                  
                                                 


                                                  
                             

          








                                           






                                     



                                  
                                   
import React from 'react'
import PropTypes from 'prop-types'
import Modal, { ModalContent } from '../../modal'

const TransactionConfirmed = (props, context) => {
  const { t } = context
  const { hideModal } = props

  return (
    <Modal
      onSubmit={() => hideModal()}
      submitText={t('ok')}
    >
      <ModalContent
        title={t('uiWelcome')}
        description={t('uiWelcomeMessage')}
      />
    </Modal>
  )
}

TransactionConfirmed.contextTypes = {
  t: PropTypes.func,
}

TransactionConfirmed.propTypes = {
  hideModal: PropTypes.func,
}

export default TransactionConfirmed