import React from 'react'; import ConditionallyRender from 'react-conditionally-render'; import { callIfExists } from '../Chat/chatUtils'; import UserIcon from '../../assets/icons/user-alt.svg'; import './UserChatMessage.css'; import { ICustomComponents } from '../../interfaces/IConfig'; interface IUserChatMessageProps { message: string; customComponents: ICustomComponents; } const UserChatMessage = ({ message, customComponents, }: IUserChatMessageProps) => { return (
{message}
} />
} /> ); }; export default UserChatMessage;