import type { LiFiStepExtended } from '@lifi/sdk'; import LinkRoundedIcon from '@mui/icons-material/LinkRounded'; import WalletIcon from '@mui/icons-material/Wallet'; import { Box, Link, Typography } from '@mui/material'; import { useTranslation } from 'react-i18next'; import { CircularIcon } from './CircularProgress.style'; import { LinkButton } from './StepProcess.style'; 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, })} ); };