JSFiddle - React, Tailwind, and code Playground

by Brian Houlihan

HTML

<script src="https://7621.custhelp.com/cc/ChatCustom"></script>
<div id="myChatLink">thelink</div>

JavaScript

debugger;

OSvC.CustomChat.Availability(
                     {
                     sub_product_id: 937,
                     element_id: 'myChatLink',
                     available_hours_html: 'available',
                     unavailable_hours_html: 'unavailble',
                     test_mode: false
                            }
       );