import { ChatMessage } from '../../interfaces/chat-message.model'; interface Props { message: ChatMessage; showModeratorMenu: boolean; } export default function ChatUserMessage(props: Props) { const { message, showModeratorMenu } = props; const { body, user, timestamp } = message; const { displayName, displayColor } = user; // TODO: Convert displayColor (a hue) to a usable color. return (