import classNames from "@calcom/lib/classNames"; import { getOrgAvatarUrl } from "@calcom/lib/getAvatarUrl"; // import { Avatar } from "@calcom/ui"; import { UserAvatar } from "@calcom/web/components/ui/avatar/UserAvatar"; type OrganizationMemberAvatarProps = React.ComponentProps & { organization: { id: number; slug: string | null; requestedSlug: string | null; } | null; }; /** * Shows the user's avatar along with a small organization's avatar */ const OrganizationMemberAvatar = ({ size, user, organization, previewSrc, ...rest }: OrganizationMemberAvatarProps) => { return ( {user.username ) : null } {...rest} /> ); }; export default OrganizationMemberAvatar;