import React from "react"; import { Button } from "@/components/ui/button"; import { LucideIcon } from "lucide-react"; interface EmptyStateProps { icon: LucideIcon; title: string; description: string; action?: { label: string; onClick: () => void; variant?: "default" | "outline" | "secondary"; }; children?: React.ReactNode; } export function EmptyState({ icon: Icon, title, description, action, children, }: EmptyStateProps) { return (
{description}
{action && ( )} {children}