import { FC } from 'react'; import cn from 'classnames'; import { Interweave } from 'interweave'; import { UrlMatcher } from 'interweave-autolink'; import { ChatMessage } from '../../../interfaces/chat-message.model'; import styles from './ChatSystemMessage.module.scss'; import { ChatMessageHighlightMatcher } from '../ChatUserMessage/customMatcher'; export type ChatSystemMessageProps = { message: ChatMessage; highlightString: string; }; export const ChatSystemMessage: FC = ({ message: { body, user: { displayName }, }, highlightString, }) => (
{displayName}
);