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

Function Page

apps/web/demos/slideshow/page.tsx:20–37  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

18})
19
20export default function Page() {
21 const { steps } = parseRoot(Content, Schema)
22 return (
23 <SelectionProvider>
24 <Selection
25 from={steps.map((step) => (
26 <Code codeblock={step.code} />
27 ))}
28 />
29 <Controls length={steps.length} />
30 <div className="px-4">
31 <Selection
32 from={steps.map((step) => step.children)}
33 />
34 </div>
35 </SelectionProvider>
36 )
37}
38
39async function Code({ codeblock }: { codeblock: RawCode }) {
40 const highlighted = await highlight(

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…