@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.
24 lines (23 loc) • 694 B
TypeScript
import { JSX } from 'solid-js';
export interface SourceProps {
href: string;
children: JSX.Element;
}
declare function Source(props: SourceProps): JSX.Element;
export interface SourceTriggerProps {
label?: string | number;
showFavicon?: boolean;
class?: string;
}
declare function SourceTrigger(props: SourceTriggerProps): JSX.Element;
export interface SourceContentProps {
title: string;
description: string;
class?: string;
}
declare function SourceContent(props: SourceContentProps): JSX.Element;
declare function SourceList(props: {
children: JSX.Element;
class?: string;
}): JSX.Element;
export { Source, SourceTrigger, SourceContent, SourceList };