UNPKG

@mitcsutt/kiln-forms

Version:

Kiln forms: typed React forms on TanStack Form, in component or JSON schema mode, rendered through kiln-ui

9 lines (8 loc) • 368 B
import type { ScopeHandle } from '../FieldScope/index.js'; /** * The visible-error count of a scope, for a tab or accordion trigger: a critical `Badge` * (hidden from AT) plus `messages.errorCount(n)` for screen readers. Renders nothing at 0. */ export declare function ErrorBadge({ scope }: { scope: ScopeHandle | null; }): import("react").JSX.Element | null;