MCPcopy Create free account
hub / github.com/code-forge-io/react-router-devtools / MDXWrapper

Function MDXWrapper

docs/app/components/mdx-wrapper.tsx:11–26  ·  view source on GitHub ↗
({ content }: { content: string })

Source from the content-addressed store, hash-verified

9import { CodeBlock } from "./code-block/code-block"
10
11export const MDXWrapper = ({ content }: { content: string }) => (
12 <MDXContent
13 code={content}
14 components={{
15 code: InlineCode,
16 pre: CodeBlock,
17 ol: OrderedList,
18 li: ListItem,
19 strong: Strong,
20 a: Anchor,
21 InfoAlert,
22 WarningAlert,
23 // You can add any custom component here or override existing ones by following the MDX documentation: https://mdxjs.com/table-of-components/#components
24 }}
25 />
26)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…