better-auth/apps/web/modules/saas/shared/components/PageHeader.tsx

17 lines
271 B
TypeScript
Raw Normal View History

2025-10-29 13:43:43 +05:00
"use client";
export function PageHeader({
title,
subtitle,
}: {
title: string;
subtitle?: string;
}) {
return (
<div className="mb-8">
<h2 className="font-bold text-2xl lg:text-3xl">{title}</h2>
<p className="mt-1 opacity-60">{subtitle}</p>
</div>
);
}