import { memo } from 'react'; import clsx from 'clsx'; import Grid from '@mui/material/Grid'; import Typography from '@mui/material/Typography'; import Link from '@mui/material/Link'; import { Avatar } from '../avatar'; import { TableTextGroup } from '../table-text-group'; import { TextWithTooltip } from '../text-with-tooltip'; import type { UserInfoProps } from './types'; import createClasses from './styles'; const UserInfo = (props: UserInfoProps) => { const { avatarProps, name, userRole, userEmail, statusBadgeProps, statusIcon, statusText } = props; const classes = createClasses(); return ( {name} {userRole} ); }; UserInfo.defaultProps = { avatarProps: { backgroundColor: '#F2F7FF', emailVerified: true, src: '', initials: '' } }; const m = memo(UserInfo); export { m as UserInfo };