4fe28f5a95
* reorganize docs apps * add README * fix directory * add condition for old docs
13 lines
294 B
TypeScript
13 lines
294 B
TypeScript
import { MDXRemote } from "next-mdx-remote/rsc"
|
|
import MDXComponents from "../MDXComponents"
|
|
|
|
type MDXContentProps = {
|
|
children: string
|
|
}
|
|
|
|
const MDXContent = ({ children }: MDXContentProps) => {
|
|
return <MDXRemote source={children} components={MDXComponents} />
|
|
}
|
|
|
|
export default MDXContent
|