SurfSense/web/app/chat/markdown.tsx

8 lines
235 B
TypeScript
Raw Normal View History

2024-08-12 00:32:42 -07:00
import React from 'react';
import MarkdownPreview from '@uiw/react-markdown-preview';
export default function MarkDownTest({source} : {source: string}) {
return (
<MarkdownPreview source={source} style={{ padding: 16 }} />
)
}