import { FC, ImgHTMLAttributes } from 'react'; import { AvocadoThemeProps, Shape, Size } from '../../utils/types'; declare const Avatar: FC; export interface AvatarProps extends ImgHTMLAttributes, AvocadoThemeProps { /** * initials of the `name` string are rendered when there are no values for `src` and `icon` */ name?: string; /** * specifies the size of the avatar image or box */ size?: Size | number; /** * specifies the icon to render when there's no value for image source (`src`) */ icon?: JSX.Element; /** * shape controls the curvature of the avatar border radius> It can be either set to "round", "curve", "square" */ shape?: Shape; /** * background color for avatar with icon or initials */ bgColor?: string; } export { Avatar };