/ src / components / infoTooltips / NetAPYTooltip.tsx
NetAPYTooltip.tsx
 1  import { Trans } from '@lingui/macro';
 2  
 3  import { TextWithTooltip, TextWithTooltipProps } from '../TextWithTooltip';
 4  
 5  export const NetAPYTooltip = ({ ...rest }: TextWithTooltipProps) => {
 6    return (
 7      <TextWithTooltip {...rest}>
 8        <Trans>
 9          Net APY is the combined effect of all supply and borrow positions on net worth, including
10          incentives. It is possible to have a negative net APY if debt APY is higher than supply APY.
11        </Trans>
12      </TextWithTooltip>
13    );
14  };