| ChildContent |
ParameterContent to display inside avatar shape. Takes priority over AntDesign.Avatar.Text |
RenderFragment |
-- |
| Shape |
ParameterShape of the avatar |
AvatarShape? |
AvatarShape.Circle |
| Size |
ParameterSize of the avatar. See AvatarSize for possible values. |
OneOf<AvatarSize, String> |
AvatarSize.Default |
| Text |
ParameterText string to display in the avatar. Typical use is for displaying initials. |
String |
-- |
| Src |
ParameterImage src for the avatar. If this fails to load, AntDesign.Avatar.Icon and AntDesign.Avatar.ChildContent/AntDesign.Avatar.Text will continue to show. |
String |
-- |
| SrcSet |
ParameterA list of sources to use for different screen resolutions. Passed straight to the img tag. |
String |
-- |
| Alt |
ParameterAlternate text for the image |
String |
-- |
| Icon |
ParameterIcon to display |
String |
-- |
| OnError |
ParameterCallback executed when image passed to AntDesign.Avatar.Src fails to load |
EventCallback<ErrorEventArgs> |
-- |
| Id |
ParameterID for the component's HTML |
String |
Uniquely Generated ID |
| Class |
ParameterSpecifies one or more class names for an DOM element. |
String |
-- |
| Style |
ParameterSpecifies an inline style for a DOM element. |
String |
-- |
| RefBack |
ParameterA ForwardRef instance. You can get a reference to the internal DOM by using AntDesign.ForwardRef.Current. |
ForwardRef |
-- |