mirror of
https://github.com/stackblitz-labs/bolt.diy
synced 2025-01-23 11:17:02 +00:00
15 lines
318 B
TypeScript
15 lines
318 B
TypeScript
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>{content}</Markdown>
|
|
</div>
|
|
);
|
|
});
|