/ src / components / infoTooltips / GasTooltip.tsx
GasTooltip.tsx
 1  import { Trans } from '@lingui/macro';
 2  import { GENERAL } from 'src/utils/mixPanelEvents';
 3  
 4  import { TextWithTooltip, TextWithTooltipProps } from '../TextWithTooltip';
 5  
 6  export const GasTooltip = ({ ...rest }: TextWithTooltipProps) => {
 7    return (
 8      <TextWithTooltip
 9        event={{
10          eventName: GENERAL.TOOL_TIP,
11          eventParams: { tooltip: 'Gas Calc' },
12        }}
13        {...rest}
14      >
15        <Trans>
16          This gas calculation is only an estimation. Your wallet will set the price of the
17          transaction. You can modify the gas settings directly from your wallet provider.
18        </Trans>
19      </TextWithTooltip>
20    );
21  };