import React from 'react'; import PropTypes from 'prop-types'; import { useI18nContext } from '../../../../hooks/useI18nContext'; import Tooltip from '../../../ui/tooltip'; const NetworkStatusTooltip = ({ children, html, title }) => ( {children} ); NetworkStatusTooltip.propTypes = { children: PropTypes.node.isRequired, html: PropTypes.node, title: PropTypes.string, }; export const BaseFeeTooltip = ({ children }) => { const t = useI18nContext(); return ( {t('medium')} , {t('high')} , ])} > {children} ); }; BaseFeeTooltip.propTypes = { children: PropTypes.node.isRequired, }; export const PriorityFeeTooltip = ({ children }) => { const t = useI18nContext(); return ( {children} ); }; PriorityFeeTooltip.propTypes = { children: PropTypes.node.isRequired, }; export const NetworkStabilityTooltip = ({ children, statusInfo }) => { const t = useI18nContext(); return ( {t(statusInfo.tooltipLabel)} , ])} > {children} ); }; NetworkStabilityTooltip.propTypes = { children: PropTypes.node.isRequired, statusInfo: PropTypes.object, };