aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/modals/modal.js
diff options
context:
space:
mode:
authorAlexander Tseung <alextsg@gmail.com>2018-09-18 09:32:35 +0800
committerAlexander Tseung <alextsg@gmail.com>2018-09-20 05:31:10 +0800
commit95e1eff4ca3d784d6fcba21035a535f8f3398cdc (patch)
tree09817f5883a4217f8e5d3f632e8943a764db5627 /ui/app/components/modals/modal.js
parent5a6c333506e4000602c1a1106cee6d06fe83afa8 (diff)
downloadtangerine-wallet-browser-95e1eff4ca3d784d6fcba21035a535f8f3398cdc.tar.gz
tangerine-wallet-browser-95e1eff4ca3d784d6fcba21035a535f8f3398cdc.tar.zst
tangerine-wallet-browser-95e1eff4ca3d784d6fcba21035a535f8f3398cdc.zip
Add TransactionDetails modal
Diffstat (limited to 'ui/app/components/modals/modal.js')
-rw-r--r--ui/app/components/modals/modal.js14
1 files changed, 14 insertions, 0 deletions
diff --git a/ui/app/components/modals/modal.js b/ui/app/components/modals/modal.js
index 2aec89326..6054002c8 100644
--- a/ui/app/components/modals/modal.js
+++ b/ui/app/components/modals/modal.js
@@ -27,6 +27,7 @@ import TransactionConfirmed from './transaction-confirmed'
import ConfirmCustomizeGasModal from './customize-gas'
import CancelTransaction from './cancel-transaction'
import WelcomeBeta from './welcome-beta'
+import TransactionDetails from './transaction-details'
const modalContainerBaseStyle = {
transform: 'translate3d(-50%, 0, 0px)',
@@ -364,6 +365,19 @@ const MODALS = {
},
},
+ TRANSACTION_DETAILS: {
+ contents: h(TransactionDetails),
+ mobileModalStyle: {
+ ...modalContainerMobileStyle,
+ },
+ laptopModalStyle: {
+ ...modalContainerLaptopStyle,
+ },
+ contentStyle: {
+ borderRadius: '8px',
+ },
+ },
+
DEFAULT: {
contents: [],
mobileModalStyle: {},