"use client"; import * as React from "react"; import { cn } from "@/lib/utils"; /** * Seven screens rendered a bare centred string for "nothing here" and two had * a real designed state. This is the designed one, made reusable. */ export function EmptyState({ icon: Icon, title, body, action, tone = "neutral", className, }: { icon?: React.ComponentType<{ className?: string }>; title: string; body?: React.ReactNode; action?: React.ReactNode; tone?: "neutral" | "err"; className?: string; }) { return (
{body}
} {action &&