import { memo } from 'react' import Icon from './Icon' /** * @typedef {object} AvatarProps * @property {import('../api').User} user * @property {import('react').CSSProperties=} style * @property {string=} link * @property {import('react').ReactNode=} children */ /** * Avatar component * @param {AvatarProps} props */ function Avatar({ user, style, link, children }) { return (