mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-02 14:15:06 +01:00
33 lines
910 B
JavaScript
33 lines
910 B
JavaScript
import React from 'react';
|
|
import PropTypes from 'prop-types';
|
|
|
|
import Box from '../../../ui/box';
|
|
import I18nValue from '../../../ui/i18n-value';
|
|
|
|
const AdvancedGasFeeInputSubtext = ({ latest, historical }) => {
|
|
return (
|
|
<Box className="advanced-gas-fee-input-subtext">
|
|
<Box display="flex" alignItems="center">
|
|
<span className="advanced-gas-fee-input-subtext__label">
|
|
<I18nValue messageKey="currentTitle" />
|
|
</span>
|
|
<span>{latest}</span>
|
|
<img src="./images/high-arrow.svg" alt="" />
|
|
</Box>
|
|
<Box>
|
|
<span className="advanced-gas-fee-input-subtext__label">
|
|
<I18nValue messageKey="twelveHrTitle" />
|
|
</span>
|
|
<span>{historical}</span>
|
|
</Box>
|
|
</Box>
|
|
);
|
|
};
|
|
|
|
AdvancedGasFeeInputSubtext.propTypes = {
|
|
latest: PropTypes.string,
|
|
historical: PropTypes.string,
|
|
};
|
|
|
|
export default AdvancedGasFeeInputSubtext;
|