aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/modals/deposit-ether-modal.js
diff options
context:
space:
mode:
authorAlexander Tseung <alextsg@gmail.com>2018-08-28 11:58:40 +0800
committerAlexander Tseung <alextsg@gmail.com>2018-09-13 10:48:51 +0800
commit31089778ba3c97443e25bd3a7a901f45757894d9 (patch)
tree4bb099da7f7cbfe65a49f3a61d3000668d077e61 /ui/app/components/modals/deposit-ether-modal.js
parent930dac110aa9127380673e119b0eaab9d45b1198 (diff)
downloadtangerine-wallet-browser-31089778ba3c97443e25bd3a7a901f45757894d9.tar.gz
tangerine-wallet-browser-31089778ba3c97443e25bd3a7a901f45757894d9.tar.zst
tangerine-wallet-browser-31089778ba3c97443e25bd3a7a901f45757894d9.zip
Add raised type buttons to Button component. Refactor all buttons within app to Button components
Diffstat (limited to 'ui/app/components/modals/deposit-ether-modal.js')
-rw-r--r--ui/app/components/modals/deposit-ether-modal.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/ui/app/components/modals/deposit-ether-modal.js b/ui/app/components/modals/deposit-ether-modal.js
index 2daa7fa1d..09137d39a 100644
--- a/ui/app/components/modals/deposit-ether-modal.js
+++ b/ui/app/components/modals/deposit-ether-modal.js
@@ -7,6 +7,8 @@ const actions = require('../../actions')
const { getNetworkDisplayName } = require('../../../../app/scripts/controllers/network/util')
const ShapeshiftForm = require('../shapeshift-form')
+import Button from '../button'
+
let DIRECT_DEPOSIT_ROW_TITLE
let DIRECT_DEPOSIT_ROW_TEXT
let COINBASE_ROW_TITLE
@@ -109,7 +111,10 @@ DepositEtherModal.prototype.renderRow = function ({
]),
!hideButton && h('div.deposit-ether-modal__buy-row__button', [
- h('button.btn-primary.btn--large.deposit-ether-modal__deposit-button', {
+ h(Button, {
+ type: 'primary',
+ className: 'deposit-ether-modal__deposit-button',
+ large: true,
onClick: onButtonClick,
}, [buttonLabel]),
]),