JSFiddle - React, Tailwind, and code Playground

by seankoole

JavaScript

$('[data-calendly]').each(function() {
  var $this = $(this);

  $this.on('click', function() {
    Calendly.initPopupWidget({
      url: $this.data('link')
    });
  })

});