Backstage
    Preparing search index...

    Interface UserAvatarProps

    Props for the UserAvatar swappable component.

    interface UserAvatarProps {
        className?: string;
        displayName?: string;
        entity: UserEntity;
        purpose?: "decoration" | "informative";
        size?: "small" | "x-small" | "medium" | "large" | "x-large";
    }
    Index
    className?: string
    displayName?: string

    Display name used for avatar initials when no picture is available. Defaults to entity.spec.profile.displayName or entity.metadata.name.

    entity: UserEntity

    The catalog user entity whose profile picture should be displayed.

    purpose?: "decoration" | "informative"
    size?: "small" | "x-small" | "medium" | "large" | "x-large"