diff --git a/docs/docs/reference/002-ui/_001-ai-chat/config/#react/composerOptions.mdx b/docs/docs/reference/002-ui/_001-ai-chat/config/#react/composerOptions.mdx index c9f01e47..cd5fadf7 100644 --- a/docs/docs/reference/002-ui/_001-ai-chat/config/#react/composerOptions.mdx +++ b/docs/docs/reference/002-ui/_001-ai-chat/config/#react/composerOptions.mdx @@ -18,5 +18,6 @@ type ComposerOptions = { | `autoFocus` | `boolean` | `false` | If `true`, the composer input will be focused when `AiChat` is mounted. | | `disableSubmitButton` | `boolean` | `false` | This will override the disabled state of the submit button when the composer is in `typing` status. It will not have any impact in the composer `submitting` and `waiting` statuses, as the submit button is always disabled in these statuses. | | `submitShortcut` | `'Enter'` \| `'CommandEnter'` | `'Enter'` | The keyboard shortcut to submit the prompt message.
— `Enter`: The user can submit the prompt message by pressing the `Enter` key. In order to add a new line, the user can press `Shift + Enter`.
— `CommandEnter`: When this is used, the user can submit the prompt message by pressing `Ctrl + Enter` on Windows/Linux or `Cmd + Enter` on macOS. In order to add a new line, the user can press `Enter`. | +| `hideStopButton` | `boolean` | `false` | If `true`, the stop button will not be shown when a prompt is in progress, and the loading spinner will be shown instead. | * Usage: