import type { ReactNode } from 'react'; import type { AppIcon } from '@/components/icons'; import { cn } from '@/lib/utils'; interface EmptyStateProps { icon?: AppIcon; title: ReactNode; hint?: ReactNode; action?: ReactNode; className?: string; } /** A list with nothing in it, with what to do about that. */ export function EmptyState({ icon: Icon, title, hint, action, className }: EmptyStateProps) { return (
{title}
{hint &&{hint}
} {action &&