UNPKG

@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.

21 lines (20 loc) 804 B
import { JSX } from 'solid-js'; export interface CheckpointProps extends JSX.HTMLAttributes<HTMLDivElement> { } export declare function Checkpoint(props: CheckpointProps): JSX.Element; export interface CheckpointIconProps { class?: string; children?: JSX.Element; } export declare function CheckpointIcon(props: CheckpointIconProps): JSX.Element; export interface CheckpointTriggerProps { tooltip?: string; /** Accessible name for the button — required when it has no visible text (icon-only). */ 'aria-label'?: string; onClick?: () => void; children?: JSX.Element; class?: string; variant?: 'ghost' | 'default' | 'outline'; size?: 'sm' | 'md' | 'lg' | 'icon' | 'icon-sm'; } export declare function CheckpointTrigger(props: CheckpointTriggerProps): JSX.Element;