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.
Drift/client/components/preview/index.tsx

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)