mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-02-17 07:58:08 +01:00
12 lines
256 B
TypeScript
12 lines
256 B
TypeScript
|
|
import { CodeMarkdown } from './Code';
|
||
|
|
|
||
|
|
export function MermaidMarkdown({
|
||
|
|
content,
|
||
|
|
isSubmitting,
|
||
|
|
}: {
|
||
|
|
content: string;
|
||
|
|
isSubmitting: boolean;
|
||
|
|
}) {
|
||
|
|
return <CodeMarkdown content={`\`\`\`mermaid\n${content}\`\`\``} isSubmitting={isSubmitting} />;
|
||
|
|
}
|