import { IMAGE_ROOT } from '@/shared/constants/common'; import { motion } from 'framer-motion'; import { useTranslation } from 'react-i18next'; export interface EscrowMailResendBottomSheetProps { setBottomSheetOn: (bottomSheetOn: boolean) => void; bottomSheetOn: boolean; callMailResend: () => void; }; export const EscrowMailResendBottomSheet = ({ setBottomSheetOn, bottomSheetOn, callMailResend }: EscrowMailResendBottomSheetProps) => { const { t } = useTranslation(); const onClickToClose = () => { setBottomSheetOn(false); }; const onClickToMailResend = () => { callMailResend(); }; const variants = { hidden: { y: '100%' }, visible: { y: '0%' }, }; return ( <> { (bottomSheetOn) &&
}{ t('transaction.bottomSheet.escrowMailResend.errorNoEmail') }