blob: 164da4a32db5ba9a61f4f98f8bc4c2fdca65b9a6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
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">Suggest gas fee increases</div>
<GasPriceButtonGroup
className="gas-price-button-group"
noButtonActiveByDefault={true}
showCheck={true}
handleGasPriceSelection={(newPrice) => console.log('New Price:', newPrice)}
{...this.props.gasPriceButtonGroupProps}
/>
</div>
)
}
}
|