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.

13 lines (12 loc) 316 B
import { JSX } from 'solid-js'; export interface GeneratedImageLike { base64?: string; uint8Array?: Uint8Array; mediaType?: string; } export interface ImageProps extends GeneratedImageLike { alt: string; class?: string; } declare function Image(props: ImageProps): JSX.Element; export { Image };