You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
1.1 KiB
43 lines
1.1 KiB
4 years ago
|
import React, { Component } from 'react';
|
||
|
import PropTypes from 'prop-types';
|
||
|
import Loading from '../../../../ui/loading-screen';
|
||
|
import GasPriceButtonGroup from '../../gas-price-button-group';
|
||
6 years ago
|
|
||
|
export default class BasicTabContent extends Component {
|
||
|
static contextTypes = {
|
||
|
t: PropTypes.func,
|
||
4 years ago
|
};
|
||
6 years ago
|
|
||
|
static propTypes = {
|
||
|
gasPriceButtonGroupProps: PropTypes.object,
|
||
4 years ago
|
};
|
||
6 years ago
|
|
||
4 years ago
|
render() {
|
||
4 years ago
|
const { t } = this.context;
|
||
|
const { gasPriceButtonGroupProps } = this.props;
|
||
6 years ago
|
|
||
6 years ago
|
return (
|
||
|
<div className="basic-tab-content">
|
||
4 years ago
|
<div className="basic-tab-content__title">
|
||
|
{t('estimatedProcessingTimes')}
|
||
|
</div>
|
||
|
<div className="basic-tab-content__blurb">
|
||
|
{t('selectAHigherGasFee')}
|
||
|
</div>
|
||
|
{gasPriceButtonGroupProps.loading ? (
|
||
|
<Loading />
|
||
|
) : (
|
||
|
<GasPriceButtonGroup
|
||
|
className="gas-price-button-group--alt"
|
||
|
showCheck
|
||
|
{...gasPriceButtonGroupProps}
|
||
|
/>
|
||
|
)}
|
||
|
<div className="basic-tab-content__footer-blurb">
|
||
|
{t('acceleratingATransaction')}
|
||
|
</div>
|
||
6 years ago
|
</div>
|
||
4 years ago
|
);
|
||
6 years ago
|
}
|
||
|
}
|