import Typography from '@mui/material/Typography'; import Box from '@mui/material/Box'; import {useTranslation} from 'react-i18next'; import ContentSwitch from './ContentSwitch'; interface Props { toggleNotification: () => void; toggleNewsletter: () => void; notificationChecked: boolean; newsletterChecked: boolean; isEditing: boolean; } const ManagingNotificationsField = ({ isEditing, toggleNotification, toggleNewsletter, notificationChecked, newsletterChecked, }: Props) => { const {t} = useTranslation(); return ( {t('profile.notification.label')} {t('profile.newsletter.label')} ); }; export default ManagingNotificationsField;