UNPKG

@plteam/chat-ui

Version:

CUI Kit is a free and open-source library for creating AI assistant chat interfaces, built with React, Material UI, and TypeScript

12 lines (11 loc) 468 B
import { ObservableReactValue } from '../utils/observers'; export declare class MessageText { /** * Text of message that supports "observation", should you need to update the component immediately upon variable modification, perfect for React.useSyncExternalStore. */ readonly observableText: ObservableReactValue<string>; readonly modelId: string; constructor(text: string); get text(): string; set text(value: string); }