import { Inbox } from "lucide-react"; import { Card, CardContent } from "@/components/ui/card"; import { cn } from "@/lib/utils"; interface EmptyCardProps { message?: string; description?: string; icon?: React.ReactNode; className?: string; /** Render as a compact inline row instead of a full card */ inline?: boolean; } export function EmptyCard({ message = "No data available", description, icon, className, inline = false, }: EmptyCardProps) { if (inline) { return (
{icon ?? } {message}
); } return (
{icon ?? }

{message}

{description && (

{description}

)}
); }