import React from 'react'; import { ChatHeaderProps } from './props'; import { styles } from './styles'; import { Row, Col, setConfiguration } from 'react-grid-system'; setConfiguration({ maxScreenClass: 'xl', gutterWidth: 0 }); export const ChatHeader: React.FC = ( props: ChatHeaderProps ) => { const { id = '', title = '', description = '' } = props; if (props.renderChatHeader) { return <>{props.renderChatHeader(props)}; } return (
{title}
{description}
); };