15 lines
365 B
TypeScript
15 lines
365 B
TypeScript
'use client';
|
|
|
|
import { BackButton } from './back-button';
|
|
|
|
type Props = { title: string | undefined };
|
|
|
|
export function PageHeader(props: Readonly<Props>) {
|
|
return (
|
|
<div className="sticky top-0 z-50 flex h-12 items-center rounded-b-lg bg-transparent px-2 font-bold tracking-wide backdrop-blur-md">
|
|
<BackButton />
|
|
{props.title}
|
|
</div>
|
|
);
|
|
}
|