in src/index.js [12:28]
(function (connect) {
connect.ChatInterface = connect.ChatInterface || {};
connect.ChatInterface.init = ({containerId, ...props}) => {
ReactDOM.render(
<BrowserRouter><App {...props}/></BrowserRouter>, document.getElementById(containerId) || document.getElementById("root"));
};
connect.ChatInterface.getCurrentTheme = () => {
return defaultTheme;
};
window.connect = connect;
}(window.connect || {}));