mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-02 22:46:16 +00:00
Setup Inertia (#593)
This commit is contained in:
8
resources/js/components/heading.tsx
Normal file
8
resources/js/components/heading.tsx
Normal file
@ -0,0 +1,8 @@
|
||||
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-muted-foreground text-sm">{description}</p>}
|
||||
</div>
|
||||
);
|
||||
}
|
Reference in New Issue
Block a user