Initial commit
This commit is contained in:
9
components/mdx-content.tsx
Normal file
9
components/mdx-content.tsx
Normal file
@ -0,0 +1,9 @@
|
||||
import { MDXRemote } from "next-mdx-remote/rsc"
|
||||
|
||||
interface MDXContentProps {
|
||||
content: string
|
||||
}
|
||||
|
||||
export function MDXContent({ content }: MDXContentProps) {
|
||||
return <MDXRemote source={content} />
|
||||
}
|
Reference in New Issue
Block a user