MCPcopy Create free account
hub / github.com/Openpanel-dev/openpanel / PageHeader

Function PageHeader

apps/start/src/components/page-header.tsx:11–30  ·  view source on GitHub ↗
({
  title,
  description,
  className,
  children,
  actions,
}: PageHeaderProps)

Source from the content-addressed store, hash-verified

9}
10
11export function PageHeader({
12 title,
13 description,
14 className,
15 children,
16 actions,
17}: PageHeaderProps) {
18 return (
19 <div className={cn('col md:row gap-2', className)}>
20 <div className={'space-y-1 flex-1'}>
21 <h1 className="text-2xl font-semibold">{title}</h1>
22 {description && (
23 <p className="text-muted-foreground font-medium">{description}</p>
24 )}
25 {children}
26 </div>
27 <div className="row gap-2">{actions}</div>
28 </div>
29 );
30}

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected