Skip to content

Commit 576f66a

Browse files
committed
docs: Minor update
1 parent d991af3 commit 576f66a

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

docs/api/hooks.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,7 @@ The `useChatWindow` hook allows you to track and manage the chatbot's window sta
191191
| toggleChatWindow | `async function` | **active (optional)** - `boolean` indicating desired end state | Toggles the chat window open or close. |
192192
| toggleIsBotTyping | `async function` | **active (optional)** - `boolean` indicating desired end state | Toggles the bot typing indicator. |
193193
| scrollToBottom | `function` | **duration (optional)**: `number` representing duration in milliseconds to scroll, defaults to 0 | Scrolls to the bottom of the chat window. |
194+
| getIsChatBotVisible | `function` | - | Returns `true` if chatbot is visible, `false` otherwise |
194195

195196

196197
#### Code Example

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"openai": "^4.47.1",
3131
"prism-react-renderer": "^2.3.1",
3232
"react": "^18.2.0",
33-
"react-chatbotify": "^2.0.0-beta.38",
33+
"react-chatbotify": "^2.0.0-beta.39",
3434
"react-dom": "^18.2.0",
3535
"react-github-btn": "^1.4.0"
3636
},

0 commit comments

Comments
 (0)