MCPcopy
hub / github.com/code-hike/codehike / CodeExample

Function CodeExample

apps/web/app/docs/[[...slug]]/code-example.tsx:6–12  ·  view source on GitHub ↗
({ MDX }: { MDX: any })

Source from the content-addressed store, hash-verified

4const ContentSchema = Block.extend({})
5
6export function CodeExample({ MDX }: { MDX: any }) {
7 const { children } = parseRoot(MDX, ContentSchema, {
8 components: { PreviewContainer },
9 })
10
11 return children
12}
13
14function PreviewContainer({ children }: { children: React.ReactNode }) {
15 return (

Callers

nothing calls this directly

Calls 1

parseRootFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…