| Property | Type | Description |
|---|---|---|
alt | string | Alternative text for the image. |
size | AvatarSize | The size of the avatar. One of: 30, 36, 40, 50, 64, 80, 96, 300 |
borderRadius? | BorderRadius | The border radius of the avatar. One of: Large, Medium, None, Rounded, Small |
onError? | React.EventHandler | Event handler emitted if the image fails to load. |
onLoad? | React.EventHandler | Event handler emitted when the image loads. |
presenceIndicator? | boolean | Show or hide the presence indicator. |
presenceStatus? | PresenceStatus | Status of the channel represented. One of: Away, Busy, Invisible, Offline, Online |
sizes? | | The intended display size of the image at various breakpoints. Accepts an array of objects that contain a size, and optionally a mediaCondition. |
src? | string | The source of the avatar image. |
srcSet? | CoreSrcSet | A configuration object for responsive image display. Accepts an object with valid descriptors for keys and image urls for values. |