INit
This commit is contained in:
16
resources/js/components/heading.tsx
Normal file
16
resources/js/components/heading.tsx
Normal file
@@ -0,0 +1,16 @@
|
||||
export default function Heading({
|
||||
title,
|
||||
description,
|
||||
}: {
|
||||
title: string;
|
||||
description?: string;
|
||||
}) {
|
||||
return (
|
||||
<div className="mb-8 space-y-0.5">
|
||||
<h2 className="text-xl font-semibold tracking-tight">{title}</h2>
|
||||
{description && (
|
||||
<p className="text-sm text-muted-foreground">{description}</p>
|
||||
)}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user