dev / app /components /chat /AssistantMessage.tsx
Charan5775's picture
Add application file
8f7821c
raw
history blame contribute delete
323 Bytes
import { memo } from 'react';
import { Markdown } from './Markdown';
interface AssistantMessageProps {
content: string;
}
export const AssistantMessage = memo(({ content }: AssistantMessageProps) => {
return (
<div className="overflow-hidden w-full">
<Markdown html>{content}</Markdown>
</div>
);
});