import React from "react";
import "./ChatMessageAvatar.styles.scss";
import { ChatAvatar } from "../AvatarGroup/AvatarGroup";

export const ChatMessageAvatar = ({ authorName, authorAvatar }) => {
  return (
    <div className="message-avatar">
      <ChatAvatar size="sm" src={authorAvatar} name={authorName} />
    </div>
  );
};
