/** * @license *------------------------------------------------------------------------------------------- * Copyright © 2026 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the package root for more information *------------------------------------------------------------------------------------------- */ import { avatarShape, avatarType } from './Enums'; export interface AvatarProps { /** * Specifies the appearance fill style of the Avatar. * * The possible values are: * * `solid` (Default) * * `outline` * */ fillMode?: null | 'solid' | 'outline' | string; /** * @hidden */ shape?: avatarShape | string; /** * Specifies the size of the Avatar * * The possible values are: * * `small` * * `medium` (Default) * * `large` * */ size?: null | 'small' | 'medium' | 'large'; /** * Sets a border to the Avatar. */ border?: boolean; /** * Configures the `roundness` of the Button. * * The available options are: * - small * - medium * - large * - full * - null—Does not set a rounded `className`. * * @default `medium` */ rounded?: null | 'small' | 'medium' | 'large' | 'full' | string; /** * Set the type of the Avatar. * * The supported values are: * * `image` * * `text` * * `icon` */ type?: avatarType | string; /** * Configures the `themeColor` of the Button. * * The available options are: * - base * - primary * - secondary * - tertiary * - info * - success * - error * - warning * - dark * - light * - inverse * - null—Does not set a themeColor `className`. * * @default `base` */ themeColor?: null | 'base' | 'primary' | 'secondary' | 'tertiary' | 'info' | 'success' | 'error' | 'warning' | 'dark' | 'light' | 'inverse' | string; }