import * as React from "react" import { type LucideIcon, Inbox } from "lucide-react" import { cn } from "@/lib/utils" import { Button } from "@/components/ui/button" export interface EmptyStateProps extends React.ComponentProps<"div"> { icon?: LucideIcon title: string description?: string actionLabel?: string onAction?: () => void } /** * EmptyState — zero-data placeholder composed from a dashed frame + * icon chip + Button. Used for empty lists, tables, search results. */ export function EmptyState({ icon: Icon = Inbox, title, description, actionLabel, onAction, className, ...props }: EmptyStateProps) { return (
{description}
)}