A Metamask fork with Infura removed and default networks editable
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.
ciphermask/ui/components/app/advanced-gas-fee-popover/advanced-gas-fee-input-subtext/advanced-gas-fee-input-subt...

33 lines
910 B

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;