Interface: ChatInputProps
Defined in: react/src/components/chat-input.tsx:4
Properties
className?
optionalclassName?:string
Defined in: react/src/components/chat-input.tsx:8
disabled?
optionaldisabled?:boolean
Defined in: react/src/components/chat-input.tsx:6
isStreaming?
optionalisStreaming?:boolean
Defined in: react/src/components/chat-input.tsx:14
Whether the assistant is currently streaming a response
onSend
onSend: (
message) =>void
Defined in: react/src/components/chat-input.tsx:5
Parameters
message
string
Returns
void
onStop?
optionalonStop?: () =>void
Defined in: react/src/components/chat-input.tsx:12
Callback to stop streaming. When provided with isStreaming, shows a stop button.
Returns
void
onValueChange?
optionalonValueChange?: (value) =>void
Defined in: react/src/components/chat-input.tsx:10
Parameters
value
string
Returns
void
placeholder?
optionalplaceholder?:string
Defined in: react/src/components/chat-input.tsx:7
value?
optionalvalue?:string
Defined in: react/src/components/chat-input.tsx:9