"use client"; import React from "react"; import { Inbox, ShieldCheck } from "lucide-react"; import { cn } from "@/lib/utils"; import { Button } from "./Button"; export function EmptyState({ title = "Nothing here yet", description = "Create some data in ASF or wait a moment for it to load.", icon: Icon = Inbox, action, actionLabel, className, }: { title?: string; description?: string; icon?: React.ComponentType<{ className?: string }>; action?: () => void; actionLabel?: string; className?: string; }) { return (
{description}
{action && actionLabel && ( )}