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