1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-03 14:44:27 +01:00
metamask-extension/ui/app/components/gas-customization/gas-modal-page-container/basic-tab-content/basic-tab-content.component.js

27 lines
666 B
JavaScript
Raw Normal View History

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"
showCheck={true}
{...this.props.gasPriceButtonGroupProps}
/>
</div>
)
}
}