Skip to content

Commit 66dfc98

Browse files
committed
Updated example verbiage
1 parent 5107464 commit 66dfc98

File tree

1 file changed

+3
-3
lines changed
  • packages/module/patternfly-docs/content/extensions/chatbot/examples/UI

1 file changed

+3
-3
lines changed

packages/module/patternfly-docs/content/extensions/chatbot/examples/UI/UI.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -314,11 +314,11 @@ To enable the stop button, set `hasStopButton` to `true` and pass in a `handleSt
314314

315315
```
316316

317-
### Message bar with indicator and animation
317+
### Message bar with AI indicator styles
318318

319-
You can pass the `hasAiIndicator` property to the `<MessageBar>` to give it a more pronounced AI indicator style. You can also pass the `isThinking` property to enable a "thinking" animation.
319+
To add a more pronounced AI indicator style to the message bar, pass `hasAiIndicator` to the `<MessageBar>` component. You can also enable a "thinking" animation by passing in `isThinking`.
320320

321-
The following example shows a simplified way of how you might hanbdle the "thinking" animation: when you send a message, the `isThinking` property is set to `true`, then after 10 seconds it is set back to false to disable the animation again.
321+
This example shows a simplified method of handling the "thinking" animation: after a user sends a message, the `isThinking` property is set to `true` to trigger the animation, then returns to `false` after 10 seconds to halt the animation.
322322

323323
```ts file="./ChatbotMessageBarIndicatorThinking.tsx" isBeta
324324

0 commit comments

Comments
 (0)