MCPcopy Create free account
hub / github.com/SyntaxUI/syntaxui / wrapper

Function wrapper

src/components/mdx.tsx:18–25  ·  view source on GitHub ↗
({ children }: { children: React.ReactNode })

Source from the content-addressed store, hash-verified

16export { default as PreviewCodeGroup } from '@/components/code/PreviewCodeGroup'
17
18export function wrapper({ children }: { children: React.ReactNode }) {
19 return (
20 <article className="flex h-full flex-col pb-10 pt-16">
21 <Prose className="flex-auto">{children}</Prose>
22 <footer className="mx-auto mt-16 w-full max-w-2xl lg:max-w-5xl"></footer>
23 </article>
24 )
25}
26
27export const h2 = function H2(
28 props: Omit<React.ComponentPropsWithoutRef<typeof Heading>, 'level'>,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected