Create a centralized configuration object to be passed to the Chatbot and ChatbotToggle components. Properties will be used globally to descendent components where applicable. This will help keep things cleaner and easier to maintain.
Created and tested a custom config object and passed it to the Chatbot component. Also have gone and updated relevant components with default values in case config does not exist by consumer.
Create a centralized configuration object to be passed to the
Chatbot
andChatbotToggle
components. Properties will be used globally to descendent components where applicable. This will help keep things cleaner and easier to maintain.