@kitn.ai/ui
Version:
Framework-agnostic, Shadow-DOM web components for building AI chat interfaces — works in React, Vue, Angular, Svelte, or plain HTML. Authored in SolidJS.
11 lines (10 loc) • 484 B
TypeScript
import { JSX } from 'solid-js';
export interface CardFallbackProps {
/** The unrecognized envelope type, shown to aid debugging. */
type: string;
/** The envelope id (for parity with cards; not displayed). */
cardId?: string;
}
/** Inert, themed fallback for an unsupported card type. Emits nothing itself —
* the dispatcher emits the contract `error` event alongside rendering this. */
export declare function CardFallback(props: CardFallbackProps): JSX.Element;