import { Box, Typography } from '@mui/joy' import { Trans, useTranslation } from 'react-i18next' import ModalActions from '../../../components/common/ModalActions' import { useResponsiveModal } from '../../../hooks/useResponsiveModal' // The store steps embed bolded UI names mid-sentence, so they go through // rather than t() — translators keep the emphasis where their own // word order needs it. const Step = ({ i18nKey, ...props }) => ( }} /> ) const NativeCancelSubscriptionModal = ({ isOpen, onClose }) => { const { ResponsiveModal } = useResponsiveModal() const { t } = useTranslation('settings') return ( onClose('desktop'), }} /> } > {t('nativeCancel.intro')} {t('nativeCancel.iosHeading')} {t('nativeCancel.androidHeading')} {t('nativeCancel.webHeading')} {t('nativeCancel.webBody')} {t('nativeCancel.footer')} ) } export default NativeCancelSubscriptionModal