2025-01-27 15:02:34 +03:00

15 lines
365 B
TypeScript

'use client';
import { BackButton } from './back-button';
import { PageTitle } from './page-title';
type Props = { title: string | undefined };
export function PageHeader(props: Readonly<Props>) {
return (
<div className="sticky top-0 z-50 flex items-center bg-background p-2">
<BackButton />
<PageTitle title={props.title} />
</div>
);
}