@betterpt/clinic-telehealth-button

This widget consists of a simple button that directs the user to the associated Video Consultation page. It is built with [Preact](https://preactjs.com/) because it has a 3kb footprint.

Usage no npm install needed!

<script type="module">
  import betterptClinicTelehealthButton from 'https://cdn.skypack.dev/@betterpt/clinic-telehealth-button';
</script>

README

Telehealth Button Widget

This widget consists of a simple button that directs the user to the associated Video Consultation page. It is built with Preact because it has a 3kb footprint.

Usage (for the customer):

  <div telehealth-button-host="habitat">
      <script type="text/props">
        { "companyName": "mavericks", "id": 2, "backgroundColor": "#4370a9", "isButtonTextBlack": false }
      </script>
  </div>
  <script async src="https://cdn.betterpt.net/telehealth-button/build/bundle.js"></script>