MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / PageContainer

Function PageContainer

packages/react/src/components/page.tsx:12–20  ·  view source on GitHub ↗
({ className, children, ...props }: React.ComponentProps<"div">)

Source from the content-addressed store, hash-verified

10// ---------------------------------------------------------------------------
11
12function PageContainer({ className, children, ...props }: React.ComponentProps<"div">) {
13 return (
14 <div className="min-h-0 flex-1 overflow-y-auto" data-slot="page-container">
15 <div className={cn("mx-auto max-w-4xl px-6 py-10 lg:px-8 lg:py-14", className)} {...props}>
16 {children}
17 </div>
18 </div>
19 );
20}
21
22function PageHeader({
23 title,

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected