import { getUserAvatarUrl } from "@calcom/lib/getAvatarUrl"; import type { User } from "@calcom/prisma/client"; import { AvatarGroup } from "@calcom/ui"; type UserAvatarProps = Omit, "items"> & { users: Pick[]; }; export function UserAvatarGroup(props: UserAvatarProps) { const { users, ...rest } = props; return ( ({ alt: user.name || "", title: user.name || "", image: getUserAvatarUrl(user), }))} /> ); }