@tabula/ui-ai-chat
Version:
Allows to embed UI for conversation with AI assistant
13 lines (12 loc) • 443 B
TypeScript
export declare const MIN_VISIBLE_ROWS_COUNT = 1;
export declare const MAX_VISIBLE_ROWS_COUNT = 10;
export type Props = {
className?: string;
maxLength?: number;
onChange: (value: string) => void;
onEnter?: () => void;
onEscape?: () => void;
placeholder?: string;
value: string;
};
export declare const TextArea: import("react").ForwardRefExoticComponent<Props & import("react").RefAttributes<HTMLTextAreaElement>>;