import { Box } from '@rocket.chat/fuselage'; import { GenericModal } from '@rocket.chat/ui-client'; import { useTranslation } from 'react-i18next'; export type EnableE2EEModalProps = { onConfirm: () => void; onClose: () => void; roomType: string; }; const EnableE2EEModal = ({ onConfirm, onClose, roomType }: EnableE2EEModalProps) => { const { t } = useTranslation(); return ( {t('E2E_enable_encryption_description', { roomType })} ); }; export default EnableE2EEModal;