Files
solace-bg-dubai/frontend/components/layout/PageHeader.tsx
defiQUG a03417be98
All checks were successful
CI / lint-and-test (push) Successful in 9m52s
chore: consolidate local WIP (repo cleanup 20260707)
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-07 09:41:38 -07:00

14 lines
417 B
TypeScript

interface PageHeaderProps {
title: string;
actions?: React.ReactNode;
}
export function PageHeader({ title, actions }: PageHeaderProps) {
return (
<header className="flex flex-col gap-4 sm:flex-row sm:justify-between sm:items-center mb-8">
<h2 className="text-2xl sm:text-3xl font-bold">{title}</h2>
{actions ? <div className="flex flex-wrap gap-3">{actions}</div> : null}
</header>
);
}