import Link from "next/link"; import type { ReactNode } from "react"; type EmptyStateProps = { title: string; description?: string; action?: { href: string; label: string }; icon?: ReactNode; }; export function EmptyState({ title, description, action, icon }: EmptyStateProps) { return (
{description}
: null} {action ? ( {action.label} ) : null}