@makolabs/ripple
Version:
Simple Svelte 5 powered component library ✨
17 lines (16 loc) • 570 B
TypeScript
interface ChatInputProps {
userInput: string;
textareaRef?: HTMLTextAreaElement;
placeholder: string;
isProcessing: boolean;
disabled: boolean;
isAdapterConfigured: boolean;
hasMessages: boolean;
thinkingMode?: boolean;
onSubmit: () => void;
onKeyDown: (event: KeyboardEvent) => void;
onThinkingToggle?: (enabled: boolean) => void;
}
declare const ChatInput: import("svelte").Component<ChatInputProps, {}, "thinkingMode" | "userInput" | "textareaRef">;
type ChatInput = ReturnType<typeof ChatInput>;
export default ChatInput;