import { Body, Drawer, Box, Button, DuoCon, Heading, } from '@biom3/react'; import { useTranslation } from 'react-i18next'; import { transactionRejectedContainerStyles, contentTextStyles, actionButtonStyles, actionButtonContainerStyles, } from './TransactionRejectedStyles'; type TransactionRejectedProps = { onCloseDrawer?: () => void; visible?: boolean; showHeaderBar?: boolean; onRetry: () => void }; export function TransactionRejected({ onCloseDrawer, visible, showHeaderBar, onRetry, }: TransactionRejectedProps) { const { t } = useTranslation(); return ( {t('drawers.transactionFailed.content.heading1')}
{t('drawers.transactionFailed.content.heading2')}
{t('drawers.transactionFailed.content.body1')}
{t('drawers.transactionFailed.content.body2')}
); }