import { Show } from "solid-js"; import { Illustration } from "@/components/ui/illustration"; import { cn } from "@/lib/cn"; import type { IllustrationName } from "@/lib/illustrations"; /** Compact empty state for cards, charts and short lists: a small scene plus * one or two lines. The full-panel version is EmptyState. */ export function EmptyInline(props: { title: string; hint?: string; illustration?: IllustrationName; /** "md" for roomy containers such as a side panel. */ size?: "sm" | "md"; class?: string; }) { return (
{props.title}
{props.hint}