main
| 1 | import { MDXRemote } from "next-mdx-remote/rsc" |
| 2 | import MDXComponents from "../MDXComponents" |
| 3 | |
| 4 | type MDXContentProps = { |
| 5 | children: string |
| 6 | } |
| 7 | |
| 8 | const MDXContent = ({ children }: MDXContentProps) => { |
| 9 | return <MDXRemote source={children} components={MDXComponents} /> |
| 10 | } |
| 11 | |
| 12 | export default MDXContent |