Skip to content

Commit f050157

Browse files
Update packages/module/patternfly-docs/content/extensions/chatbot/examples/Messages/Messages.md
Co-authored-by: Erin Donehoo <105813956+edonehoo@users.noreply.github.com>
1 parent b1581bb commit f050157

File tree

1 file changed

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

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,9 @@ When `persistActionSelection` is `true`:
140140

141141
### Message actions that fill
142142

143-
To provide enhanced visual feedback when users interact with response actions, you can enable icon swapping by setting `useFilledIconsOnClick` to `true`. When enabled, the predefined actions positive and negative will automatically swap from outline icon variants to filled icon variants when clicked.
143+
To provide enhanced visual feedback when users interact with response actions, you can enable icon swapping by setting `useFilledIconsOnClick` to `true`. When enabled, the predefined "positive" and "negative" actions will automatically swap to their filled icon counterparts when clicked, replacing the original outlined icon variants.
144+
145+
This is especially useful for actions that are intended to persist (such as the "positive" and "negative" responses), so that a user's selection is more clear and emphasized.
144146

145147

146148
```js file="./MessageWithIconSwapping.tsx"

0 commit comments

Comments
 (0)