import { Box, Typography, useTheme, useMediaQuery } from "@mui/material"; type UserTabProps = { user: { id: number; registrationDate: string; email: string; phone: string; type: string; fullname: string; walletBalance: string; }; }; export const UserTab = ({ user }: UserTabProps) => { const theme = useTheme(); const mobile = useMediaQuery(theme.breakpoints.down(700)); return ( ID {" "} {user.id} Дата регистрации {user.registrationDate} Email {user.email} Телефон {user.phone} Тип: {user.type} ФИО: {user.fullname} Внутренний кошелек {user.walletBalance} ); };