/ src / components / infoTooltips / ApprovalTooltip.tsx
ApprovalTooltip.tsx
 1  import { Trans } from '@lingui/macro';
 2  
 3  import { Link } from '../primitives/Link';
 4  import { TextWithTooltip, TextWithTooltipProps } from '../TextWithTooltip';
 5  
 6  export const ApprovalTooltip = ({ ...rest }: TextWithTooltipProps) => {
 7    return (
 8      <TextWithTooltip {...rest}>
 9        <Trans>
10          To continue, you need to grant Aave smart contracts permission to move your funds from your
11          wallet. Depending on the asset and wallet you use, it is done by signing the permission
12          message (gas free), or by submitting an approval transaction (requires gas).{' '}
13          <Link href="https://eips.ethereum.org/EIPS/eip-2612" underline="always">
14            Learn more
15          </Link>
16        </Trans>
17      </TextWithTooltip>
18    );
19  };