17 lines
360 B
TypeScript
17 lines
360 B
TypeScript
export function SettingsSectionHeader({
|
|
title,
|
|
description,
|
|
}: {
|
|
title: string
|
|
description?: string
|
|
}) {
|
|
return (
|
|
<header className="mb-6">
|
|
<h2 className="text-lg font-medium text-foreground">{title}</h2>
|
|
{description ? (
|
|
<p className="mt-1 text-sm text-muted-foreground">{description}</p>
|
|
) : null}
|
|
</header>
|
|
)
|
|
}
|