MCPcopy Create free account
hub / github.com/PostHog/duckgres / PageHeader

Function PageHeader

controlplane/admin/ui/src/components/AppShell.tsx:17–35  ·  view source on GitHub ↗
({
  title,
  description,
  actions,
}: {
  title: ReactNode;
  description?: string;
  actions?: ReactNode;
})

Source from the content-addressed store, hash-verified

15 </div>
16 </div>
17 </div>
18 );
19}
20
21export function PageHeader({
22 title,
23 description,
24 actions,
25}: {
26 title: ReactNode;
27 description?: string;
28 actions?: ReactNode;
29}) {
30 return (
31 <div className="flex items-start justify-between gap-4 border-b border-border px-6 py-4">
32 <div>
33 <h1 className="text-lg font-semibold">{title}</h1>
34 {description && <p className="mt-0.5 text-sm text-muted-foreground">{description}</p>}
35 </div>
36 {actions && <div className="flex items-center gap-2">{actions}</div>}
37 </div>
38 );

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected