aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/modals/notification/notification.component.js
diff options
context:
space:
mode:
authorAlexander Tseung <alextsg@gmail.com>2018-09-18 01:34:29 +0800
committerAlexander Tseung <alextsg@gmail.com>2018-09-20 05:31:10 +0800
commit5a6c333506e4000602c1a1106cee6d06fe83afa8 (patch)
tree2aed850f17114372eaca16ed7e77f42f87907713 /ui/app/components/modals/notification/notification.component.js
parent3e470fee8a5560b605f7ad1060fb1eebafefd21e (diff)
downloadtangerine-wallet-browser-5a6c333506e4000602c1a1106cee6d06fe83afa8.tar.gz
tangerine-wallet-browser-5a6c333506e4000602c1a1106cee6d06fe83afa8.tar.zst
tangerine-wallet-browser-5a6c333506e4000602c1a1106cee6d06fe83afa8.zip
Switch existing modals from using Notification to Modal. Remove Notification component. Add CancelTransaction modal
Diffstat (limited to 'ui/app/components/modals/notification/notification.component.js')
-rw-r--r--ui/app/components/modals/notification/notification.component.js30
1 files changed, 0 insertions, 30 deletions
diff --git a/ui/app/components/modals/notification/notification.component.js b/ui/app/components/modals/notification/notification.component.js
deleted file mode 100644
index 1af2f3ca8..000000000
--- a/ui/app/components/modals/notification/notification.component.js
+++ /dev/null
@@ -1,30 +0,0 @@
-import React from 'react'
-import PropTypes from 'prop-types'
-import Button from '../../button'
-
-const Notification = (props, context) => {
- return (
- <div className="modal-container">
- { props.children }
- <div className="modal-container__footer">
- <Button
- type="primary"
- onClick={() => props.onHide()}
- >
- { context.t('ok') }
- </Button>
- </div>
- </div>
- )
-}
-
-Notification.propTypes = {
- onHide: PropTypes.func.isRequired,
- children: PropTypes.element,
-}
-
-Notification.contextTypes = {
- t: PropTypes.func,
-}
-
-export default Notification