react-chatbot-kit icon indicating copy to clipboard operation
react-chatbot-kit copied to clipboard

How can I change the chat message HTML?

Open erzads opened this issue 1 year ago • 0 comments

I need to add some accessibility features to the messages an I am struggling to understand how to edit the message container. I am trying to use customComponents:botChatMessage but that overrides the entire thing. I wanted to keep the default component but just add some stuff. Is this possible? I thought I could add my own component to that property and then render ChatbotMessage from it but I am not sure how.

erzads avatar Aug 15 '23 16:08 erzads