Initial Upload
Some checks failed
CI / Lint & Typecheck (push) Has been cancelled
CI / Test (routes) (push) Has been cancelled
CI / Test (security) (push) Has been cancelled
CI / Test (services) (push) Has been cancelled
CI / Test (unit) (push) Has been cancelled
CI / Test (integration) (push) Has been cancelled
CI / Test Coverage (push) Has been cancelled
CI / Build (push) Has been cancelled

This commit is contained in:
2025-12-17 12:32:50 +13:00
commit 3015f48118
471 changed files with 141143 additions and 0 deletions

View File

@@ -0,0 +1,40 @@
import type { LucideIcon } from 'lucide-react';
import { cn } from '@/lib/utils';
interface EmptyStateProps {
icon?: LucideIcon;
title: string;
description?: string;
children?: React.ReactNode;
className?: string;
}
export function EmptyState({
icon: Icon,
title,
description,
children,
className,
}: EmptyStateProps) {
return (
<div
className={cn(
'flex flex-col items-center justify-center py-12 text-center',
className
)}
>
{Icon && (
<div className="rounded-full bg-muted p-4">
<Icon className="h-8 w-8 text-muted-foreground" />
</div>
)}
<h3 className="mt-4 text-lg font-semibold">{title}</h3>
{description && (
<p className="mt-2 max-w-md text-sm text-muted-foreground">
{description}
</p>
)}
{children && <div className="mt-6">{children}</div>}
</div>
);
}