UseChatInputOptions
Defined in: src/components/editor/ChatPanel/ChatPanel.types.ts:441
Properties
maxLines?
optionalmaxLines:number
Defined in: src/components/editor/ChatPanel/ChatPanel.types.ts:453
Maximum visible rows before scrolling.
Default
6onSubmit()?
optionalonSubmit: (value) =>void
Defined in: src/components/editor/ChatPanel/ChatPanel.types.ts:448
Called when submit key is pressed and input is non-empty
Parameters
value
string
Returns
void
submitKey?
optionalsubmitKey:"enter"|"ctrl+enter"
Defined in: src/components/editor/ChatPanel/ChatPanel.types.ts:446
Key combo that triggers submit.
Default
"enter"