Skip to content

Commit

Permalink
Update packages/module/patternfly-docs/content/extensions/chatbot/exa…
Browse files Browse the repository at this point in the history
…mples/UI/UI.md

Co-authored-by: Erin Donehoo <[email protected]>
  • Loading branch information
rebeccaalpert and edonehoo authored Dec 9, 2024
1 parent 5eefe29 commit 4d4a9e1
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -347,11 +347,11 @@ Based on the [PatternFly modal](/components/modal), this modal adapts to the cha

```

### Terms of Use
### Terms of use

Based on the [PatternFly modal](/components/modal), this modal adapts to the ChatBot display mode and is meant to display terms and conditions for using a ChatBot in your project. The image in the header can be toggled on or off depending on whether the `image` and `altText` props are provided.

This example also includes an example of how to use [skip to content](/patternfly-ai/chatbot/ui#skip-to-content). When the terms of use modal is open, focus is placed on the terms of use container. When it is closed, focus is placed on the chatbot. In a real example with a functioning toggle, you would also want to place focus on the toggle when appropriate.
This example also includes an example of how to use [skip to content](/patternfly-ai/chatbot/ui#skip-to-content). When the terms of use modal is open, focus is placed on the terms of use container. When it is closed, focus is placed on the ChatBot. In a real example with a functioning ChatBot toggle, you would also want to place focus on the toggle when appropriate.

```js file="./TermsOfUse.tsx" isFullscreen

Expand Down

0 comments on commit 4d4a9e1

Please sign in to comment.