mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-01-09 03:58:51 +01:00
* 🎨 refactor: Improve Mermaid Artifacts Styling
* refactor: Replace ArtifactMarkdown with MermaidMarkdown
11 lines
256 B
TypeScript
11 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} />;
|
|
}
|