Files
medusa-store/www/apps/book/components/MDXContent/index.tsx
Shahed Nasser 4fe28f5a95 chore: reorganize docs apps (#7228)
* reorganize docs apps

* add README

* fix directory

* add condition for old docs
2024-05-03 17:36:38 +03:00

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