import type { IconProps } from "@chopin/icons"; import type { ComponentType, ReactNode } from "react"; export type EmptyStateProps = { icon: ComponentType; title?: ReactNode; description: ReactNode; action?: ReactNode; appearance?: "plain" | "framed"; density?: "default" | "compact"; measure?: "standard" | "short"; }; export function EmptyState({ icon: Icon, title, description, action, appearance = "plain", density = "default", measure = "standard", }: EmptyStateProps) { return (
{title &&

{title}

}

{description}

{action &&
{action}
}
); }