diff --git a/packages/module/patternfly-docs/content/extensions/chatbot/examples/demos/Chatbot.md b/packages/module/patternfly-docs/content/extensions/chatbot/examples/demos/Chatbot.md index 356927d4..a9fc5bb0 100644 --- a/packages/module/patternfly-docs/content/extensions/chatbot/examples/demos/Chatbot.md +++ b/packages/module/patternfly-docs/content/extensions/chatbot/examples/demos/Chatbot.md @@ -200,3 +200,26 @@ In this example, file download is implemented with [file-saver](https://www.npmj ```js file="./ChatbotTranscripts.tsx" isFullscreen ``` + +### Slash commands + +This demo adds slash command support to a fullscreen ChatBot. The following lifts are required to wire up this behavior: + +1. **Controlled `MessageBar`:** Pass `value`, `onChange`, and `innerRef` props to `MessageBar` so the consumer owns the input state and has access to the underlying `