Sanitized mirror from private repository - 2026-04-20 01:32:01 UTC
This commit is contained in:
15
dashboard/ui/components/empty-state.tsx
Normal file
15
dashboard/ui/components/empty-state.tsx
Normal file
@@ -0,0 +1,15 @@
|
||||
interface EmptyStateProps {
|
||||
icon?: string;
|
||||
title: string;
|
||||
description?: string;
|
||||
}
|
||||
|
||||
export function EmptyState({ icon = "--", title, description }: EmptyStateProps) {
|
||||
return (
|
||||
<div className="flex flex-col items-center justify-center py-8 text-center">
|
||||
<span className="text-3xl mb-2 opacity-30">{icon}</span>
|
||||
<p className="text-sm font-medium text-muted-foreground">{title}</p>
|
||||
{description && <p className="text-xs text-muted-foreground/60 mt-1">{description}</p>}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user