mirror of https://github.com/MaxLeiter/Drift
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
312 B
TypeScript
9 lines
312 B
TypeScript
import { memo } from "react"
|
|
import ReactMarkdownPreview from "./react-markdown-preview"
|
|
|
|
const MarkdownPreview = ({ content = '', height = 500 }: { content?: string, height?: number | string }) => {
|
|
return (<ReactMarkdownPreview height={height} content={content} />)
|
|
}
|
|
|
|
export default memo(MarkdownPreview)
|