/** Loading + error surfaces — every page swaps its "Loading…" text for these. */ const WIDTHS = ['92%', '70%', '84%', '55%', '78%'] export function Skeleton(props: { rows?: number }) { const rows = props.rows ?? 3 return (
{Array.from({ length: rows }, (_x, i) => (
))}
) } export function ErrorState(props: { message: string; onRetry?: () => void }) { return (
{props.message} {props.onRetry !== undefined && ( )}
) }