import React from 'react'; import { useParams } from 'react-router-dom'; import { Accordion, AccordionSummary, AccordionDetails, Typography, Container, } from '@mui/material'; import ExpandMoreIcon from '@mui/icons-material/ExpandMore'; import LinkField from '../common/components/LinkField'; import { useTranslation } from '../common/components/LocalizationProvider'; import SettingsMenu from './components/SettingsMenu'; import { formatNotificationTitle } from '../common/util/formatter'; import PageLayout from '../common/components/PageLayout'; import useSettingsStyles from './common/useSettingsStyles'; const UserConnectionsPage = () => { const classes = useSettingsStyles(); const t = useTranslation(); const { id } = useParams(); return ( } breadcrumbs={['settingsTitle', 'settingsUser', 'sharedConnections']} > }> {t('sharedConnections')} `${it.name} (${it.uniqueId})`} label={t('deviceTitle')} /> formatNotificationTitle(t, it, true)} label={t('sharedNotifications')} /> it.description} label={t('sharedComputedAttributes')} /> `${it.name} (${it.uniqueId})`} label={t('sharedDrivers')} /> it.description} label={t('sharedSavedCommands')} /> ); }; export default UserConnectionsPage;