@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.
12 lines (11 loc) • 399 B
TypeScript
export interface MarkdownProps {
content: string;
id?: string;
class?: string;
codeTheme?: string;
/** Optional `::part` name(s) to expose on the rendered root. Lets callers
* (e.g. the message bubble) surface a styleable part through the shadow. */
part?: string;
}
declare function Markdown(props: MarkdownProps): import("solid-js").JSX.Element;
export { Markdown };