JSFiddle - React, Tailwind, and code Playground

HTML

<a class="twitter-follow-button"
  href="https://twitter.com/TwitterDev">
Follow @TwitterDev</a>

JavaScript

$( document ).ready(function() {
    $( '#your-twitter-button-id-here' ).click(function() {
        enableButton2();
    });
});