Skip to content

Commit 2b7d386

Browse files
devrntclaude
andcommitted
Add changeset and clarify hideNotifications docs
Add a minor changeset covering the new hideNotifications method and tickets space support, and refine the hideNotifications README description to match the official Intercom docs (true hides, false shows). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent a2ae138 commit 2b7d386

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

‎.changeset/quick-bells-hide.md‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'react-use-intercom': minor
3+
---
4+
5+
Add `hideNotifications` method and support for the `tickets` space in `showSpace`

‎packages/react-use-intercom/README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ Used to retrieve all methods bundled with Intercom. These are based on the offic
152152
| showNews | (newsId: number) => void | Opens the Messenger with the specified news item by `newsId`
153153
| showTicket | (ticketId: number) => void | Opens the Messenger with the specified ticket by `ticketId`
154154
| showConversation | (conversationId: number) => void | Opens the Messenger with the specified conversation by `conversationId`
155-
| hideNotifications | (hidden: boolean) => void | Controls the visibility of Intercom notifications
155+
| hideNotifications | (hidden: boolean) => void | controls the visibility of in-app notifications, pass `true` to hide or `false` to show them
156156

157157
#### Example
158158
```ts

0 commit comments

Comments
 (0)