Skip to content

Commit 751d4bc

Browse files
committed
chore: updated api type
1 parent 79b7c86 commit 751d4bc

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ Used to retrieve all methods bundled with Intercom. These are based on the offic
140140
| trackEvent | (event: string, metaData?: object) => void | submits an `event` with optional `metaData`
141141
| showArticle | (articleId: string) => void | opens the Messenger with the specified article by `articleId`
142142
| startSurvey | (surveyId: number) => void | Trigger a survey in the Messenger by `surveyId`
143-
| showSpace | (spaceName: `'home' | 'messages' | 'help' | 'news' | 'tasks'`) => void | Opens the Messenger with the specified space
143+
| showSpace | (spaceName: IntercomSpace) => void | Opens the Messenger with the specified space
144144

145145
#### Example
146146
```javascript

packages/react-use-intercom/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ Used to retrieve all methods bundled with Intercom. These are based on the offic
140140
| trackEvent | (event: string, metaData?: object) => void | submits an `event` with optional `metaData`
141141
| showArticle | (articleId: string) => void | opens the Messenger with the specified article by `articleId`
142142
| startSurvey | (surveyId: number) => void | Trigger a survey in the Messenger by `surveyId`
143-
| showSpace | (spaceName: `'home' | 'messages' | 'help' | 'news' | 'tasks'`) => void | Opens the Messenger with the specified space
143+
| showSpace | (spaceName: IntercomSpace) => void | Opens the Messenger with the specified space
144144

145145
#### Example
146146
```javascript

0 commit comments

Comments
 (0)