@tabula/ui-ai-chat
Version:
Allows to embed UI for conversation with AI assistant
15 lines (14 loc) • 459 B
TypeScript
import { PromptInputController } from '../types';
type Props = {
context?: string;
isSendable: boolean;
isSending: boolean;
maxLength?: number;
onChangePrompt: (nextValue: string) => void;
onClearContext?: () => void;
onSend: () => void;
placeholder: string;
prompt: string;
};
export declare const Prompt: import("react").ForwardRefExoticComponent<Props & import("react").RefAttributes<PromptInputController>>;
export {};