function Avatar(props) {
    const { className, style, size, assistiveText, backgroundColor, ...rest } = props;

    return (
        <StyledContainer
            className={className}
            style={style}
            size={size}
            backgroundColor={backgroundColor}
        >
            {/* eslint-disable-next-line react/jsx-props-no-spreading */}
            <AvatarContent {...rest} assistiveText={assistiveText} />
            <AssistiveText text={assistiveText} />
        </StyledContainer>
    );
}
An avatar component represents an object or entity