diff options
author | Alexander Tseung <alextsg@users.noreply.github.com> | 2018-09-25 02:34:12 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-25 02:34:12 +0800 |
commit | 5d57c7c4fd17f1841e33d31e3b13dcc13aef5b3e (patch) | |
tree | 9d310e5a5689dfa27edb508197ef4811e2786f95 /ui/app/components/modals/notification/notification.component.js | |
parent | 24d8d4ae0077a3adbcdd6c37e4ddc476228195a6 (diff) | |
parent | 431beb943675f2e9b7b5e5ce9c7f55d45f10905f (diff) | |
download | tangerine-wallet-browser-5d57c7c4fd17f1841e33d31e3b13dcc13aef5b3e.tar.gz tangerine-wallet-browser-5d57c7c4fd17f1841e33d31e3b13dcc13aef5b3e.tar.zst tangerine-wallet-browser-5d57c7c4fd17f1841e33d31e3b13dcc13aef5b3e.zip |
Merge pull request #5282 from MetaMask/tx-cancel-ui
Add Cancel Transaction feature. Refactor modals. Add Transaction Details modal.
Diffstat (limited to 'ui/app/components/modals/notification/notification.component.js')
-rw-r--r-- | ui/app/components/modals/notification/notification.component.js | 30 |
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 |