({
title,
description,
actions,
}: {
title: ReactNode;
description?: string;
actions?: ReactNode;
})
| 15 | </div> |
| 16 | </div> |
| 17 | </div> |
| 18 | ); |
| 19 | } |
| 20 | |
| 21 | export 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 | ); |
nothing calls this directly
no outgoing calls
no test coverage detected