import { FileQuestion, SearchX, AlertCircle, Inbox } from "lucide-react"; import Link from "next/link"; export function EmptyState({ title = "No results", description, icon: Icon = Inbox, action, }: { title?: string; description?: string; icon?: typeof Inbox; action?: { label: string; href: string }; }) { return (

{title}

{description &&

{description}

} {action && ( {action.label} )}
); } export function ErrorState({ message, onRetry }: { message?: string; onRetry?: () => void }) { return (
Something went wrong
{message &&
{message}
}
{onRetry && ( )}
); }