How to use LeadBooster APIs in React js?

How to use LeadBooster APIs from these instructions in React js?

Like LeadBooster.trigger('open');

Hey @AmrEraky
Welcome to the community :wave:
Have you tried including the script tag generated under the Manual Installation tab (pertaining to the respective Chatbot Playbook) and accessing LeadBooster since it is already a global object? Something like window.LeadBooster should also work