import type { ComponentPropsWithRef, ReactNode, } from "react" import { toClassName } from "../toClassName.ts" export type EmptyStateSize = "md" | "sm" export type EmptyStateProps = Omit< ComponentPropsWithRef<"div">, "children" > & { /** Buttons, usually. Rendered under the description. */ action?: ReactNode description?: ReactNode /** * A real heading element, and the level is the caller's because * only the caller knows what it sits under. Getting this wrong * breaks a screen reader's document outline, which is how the * fleet's `

`-with-a-`