react-chat-widget
react-chat-widget copied to clipboard
What is optional parameter Id in the method addResponseMessage and addUserMessage meant to do?
Passing optional parameter id string doesn't seem to create an id or any noticeable effect on inspection. Am I missing something?
In general the documentation seems rather poor for someone to be able to understand the full range of customization @mcallegari10
@Nahdus you can add the optional ID and keep count of each message as an index. Then when you want to use deleteMessage(index) you can properly remove the correct item.