MCPcopy Create free account
hub / github.com/ResearAI/AutoFigure / ChatInputProps

Interface ChatInputProps

frontend/components/chat-input.tsx:116–132  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

114}
115
116interface ChatInputProps {
117 input: string
118 status: "submitted" | "streaming" | "ready" | "error"
119 onSubmit: (e: React.FormEvent<HTMLFormElement>) => void
120 onChange: (e: React.ChangeEvent<HTMLTextAreaElement>) => void
121 onClearChat: () => void
122 files?: File[]
123 onFileChange?: (files: File[]) => void
124 pdfData?: Map<
125 File,
126 { text: string; charCount: number; isExtracting: boolean }
127 >
128 showHistory?: boolean
129 onToggleHistory?: (show: boolean) => void
130 sessionId?: string
131 error?: Error | null
132}
133
134export function ChatInput({
135 input,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected