import { MaterialIcon } from "../Icons/MaterialIcon" import { Typography } from "../Typography" import Image from "../Image" import { variants } from "./variants" import type { AvatarProps } from "./types" export function Avatar({ src, alt, initials, size = "md", className, }: AvatarProps) { const classNames = variants({ size, className }) const pixelSize = size === "sm" ? 24 : size === "md" ? 32 : 55 const iconSize = size === "sm" ? 16 : 24 return (