function AvatarMenu(props) {
    const {
        src,
        initials,
        icon,
        avatarSize,
        initialsVariant,
        title,
        assistiveText,
        disabled,
        tabIndex,
        onClick,
        onFocus,
        onBlur,
        children,
        ...rest
    } = props;

    return (
        <PrimitiveMenu
            // eslint-disable-next-line react/jsx-props-no-spreading
            {...rest}
            src={src}
            icon={icon}
            initials={initials}
            disabled={disabled}
            tabIndex={tabIndex}
            avatarSize={avatarSize}
            initialsVariant={initialsVariant}
            title={title}
            assistiveText={assistiveText}
            onClick={onClick}
            onFocus={onFocus}
            onBlur={onBlur}
            trigger={AvatarButton}
        >
            {children}
        </PrimitiveMenu>
    );
}
A Avatar Menu offers a list of actions or functions that a user can access.