mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-02 22:24:27 +01:00
29 lines
1022 B
JavaScript
29 lines
1022 B
JavaScript
import React, { Component } from 'react'
|
|
import PropTypes from 'prop-types'
|
|
import GasPriceButtonGroup from '../../gas-price-button-group'
|
|
|
|
export default class BasicTabContent extends Component {
|
|
static contextTypes = {
|
|
t: PropTypes.func,
|
|
}
|
|
|
|
static propTypes = {
|
|
gasPriceButtonGroupProps: PropTypes.object,
|
|
}
|
|
|
|
render () {
|
|
return (
|
|
<div className="basic-tab-content">
|
|
<div className="basic-tab-content__title">Estimated Processing Times</div>
|
|
<div className="basic-tab-content__blurb">Select a higher gas fee to accelerate the processing of your transaction.*</div>
|
|
<GasPriceButtonGroup
|
|
className="gas-price-button-group--alt"
|
|
showCheck={true}
|
|
{...this.props.gasPriceButtonGroupProps}
|
|
/>
|
|
<div className="basic-tab-content__footer-blurb">* Accelerating a transaction by using a higher gas price increases its chances of getting processed by the network faster, but it is not always guaranteed.</div>
|
|
</div>
|
|
)
|
|
}
|
|
}
|