NEW_CPM/resources/js/components/heading-small.tsx
2025-04-02 17:49:09 +05:45

9 lines
323 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-muted-foreground text-sm">{description}</p>}
</header>
);
}