Skip to content

Commit afee789

Browse files
authored
fix(webchat): updating react components doc to remove invalid syntax (#55)
1 parent fa45f3b commit afee789

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

webchat/webchat-components/component-library/message-list.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ The `MessageList` component renders the list of messages in the Webchat, includi
99

1010
It has custom message renderers for each type of message (e.g. video, image, audio, text and multipart messages).
1111

12-
It displays a typing indicator while waiting for the bot to answer.
12+
It displays a typing indicator while waiting for the bot to answer.
1313

1414
## Usage
1515

@@ -18,13 +18,13 @@ It displays a typing indicator while waiting for the bot to answer.
1818
</Note>
1919

2020
```tsx App.tsx [expandable]
21-
import { MessageList, useWebchatClient } from '@botpress/webchat'
21+
import { MessageList, useWebchatClient, Configuration } from '@botpress/webchat'
2222

2323
const { client, messages, isTyping, user } = useWebchatClient({
2424
clientId: '$CLIENT_ID$', // Insert your Client ID here
2525
})
2626

27-
const config: = {
27+
const config: Configuration = {
2828
botName: 'SupportBot',
2929
botAvatar: 'https://picsum.photos/id/80/400',
3030
botDescription: 'Your virtual assistant for all things support.',

0 commit comments

Comments
 (0)