17 lines
373 B
TypeScript
17 lines
373 B
TypeScript
export default function HeadingSmall({
|
|
title,
|
|
description,
|
|
}: {
|
|
title: string;
|
|
description?: string;
|
|
}) {
|
|
return (
|
|
<header>
|
|
<h3 className="mb-0.5 text-base font-medium">{title}</h3>
|
|
{description && (
|
|
<p className="text-sm text-muted-foreground">{description}</p>
|
|
)}
|
|
</header>
|
|
);
|
|
}
|