import type { ReactNode } from 'react'; export interface EmptyProps { /** One line in --ink, 16px/500. */ title: string; /** One sentence in --ink-mute. */ hint?: string; /** One quiet control that starts the demo — this pack always has one to offer. */ action?: ReactNode; className?: string; } export function Empty({ title, hint, action, className }: EmptyProps) { return (
{title} {hint !== undefined && {hint}} {action !== undefined && {action}}
); }