Function
PageHeader
({
title,
description,
className,
children,
actions,
}: PageHeaderProps)
Source from the content-addressed store, hash-verified
| 9 | } |
| 10 | |
| 11 | export 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
Tested by
no test coverage detected