diff options
author | Alexander Tseung <alextsg@gmail.com> | 2018-08-28 11:58:40 +0800 |
---|---|---|
committer | Alexander Tseung <alextsg@gmail.com> | 2018-09-13 10:48:51 +0800 |
commit | 31089778ba3c97443e25bd3a7a901f45757894d9 (patch) | |
tree | 4bb099da7f7cbfe65a49f3a61d3000668d077e61 /ui/app/components/modals/customize-gas/customize-gas.component.js | |
parent | 930dac110aa9127380673e119b0eaab9d45b1198 (diff) | |
download | tangerine-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/customize-gas/customize-gas.component.js')
-rw-r--r-- | ui/app/components/modals/customize-gas/customize-gas.component.js | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/ui/app/components/modals/customize-gas/customize-gas.component.js b/ui/app/components/modals/customize-gas/customize-gas.component.js index 0337c5413..3f526bd43 100644 --- a/ui/app/components/modals/customize-gas/customize-gas.component.js +++ b/ui/app/components/modals/customize-gas/customize-gas.component.js @@ -2,6 +2,7 @@ import React, { Component } from 'react' import PropTypes from 'prop-types' import GasModalCard from '../../customize-gas-modal/gas-modal-card' import { MIN_GAS_PRICE_GWEI } from '../../send/send.constants' +import Button from '../../button' import { getDecimalGasLimit, @@ -116,21 +117,23 @@ export default class CustomizeGas extends Component { { t('revert') } </div> <div className="customize-gas__buttons"> - <button - className="btn-default customize-gas__cancel" + <Button + type="default" + className="customize-gas__cancel" onClick={() => hideModal()} style={{ marginRight: '10px' }} > { t('cancel') } - </button> - <button - className="btn-primary customize-gas__save" + </Button> + <Button + type="primary" + className="customize-gas__save" onClick={() => this.handleSave()} style={{ marginRight: '10px' }} disabled={!valid} > { t('save') } - </button> + </Button> </div> </div> </div> |