import type { LiFiStepExtended } from '@lifi/sdk'; import { LinkRounded, Wallet } from '@mui/icons-material'; import { Box, Link, Typography } from '@mui/material'; import { useTranslation } from 'react-i18next'; import { CardIconButton } from '../Card/CardIconButton.js'; import { CircularIcon } from './CircularProgress.style.js'; export const DestinationWalletAddress: React.FC<{ step: LiFiStepExtended; toAddress: string; toAddressLink: string; }> = ({ step, toAddress, toAddressLink }) => { const { t } = useTranslation(); const isDone = step.execution?.status === 'DONE'; return ( {isDone ? t('main.sentToAddress', { address: toAddress, }) : t('main.sendToAddress', { address: toAddress, })} ); };