import { Drawer, Icon, Typography, useMediaQuery, Link, Box, } from '@mui/material'; import {useTranslation} from 'react-i18next'; import DrawerPassengerHeader from './DrawerPassengerHeader'; interface Props { isOpen: boolean; onClose: () => void; firstName: string; lastName: string; email: string; } const DrawerPassenger = ({ isOpen, onClose, lastName, firstName, email, }: Props) => { const {t} = useTranslation(); const isMobile = useMediaQuery('(max-width:400px)'); return ( {t('passenger.informations.name.label')} {firstName} {t('passenger.informations.surname.label')} {lastName} {t('passenger.informations.email.label')} {email} email {t('passenger.informations.email.label')} ); }; export default DrawerPassenger;