1 import { Avatar } from '@proton/atoms';
2 import { getInitials } from '@proton/shared/lib/helpers/string';
3 import clsx from '@proton/utils/clsx';
10 export const UserCell = ({ email, name }: Props) => {
12 <div className="flex gap-2">
13 <Avatar className="shrink-0 text-rg" color="weak">
14 {getInitials(name || email)}
16 <span className="flex-1 flex flex-column justify-center">
18 <span className="block color-norm max-w-full text-ellipsis" title={name}>
23 className={clsx('block max-w-full text-ellipsis color-norm', name && 'color-weak text-sm')}