JSFiddle - React, Tailwind, and code Playground

by Aikepaer Abuduweili

HTML

<script type="text/javascript" class="pubhub-inlinescript">
  var script = document.createElement("script");
  script.src =
    "https://heuristic-pasteur-ac6ade.netlify.com/static/js/portal.v7.js";
  script.onload = function() {
    APIMaticDevPortal.show({
      container: "apimatic-widget",
      portalStyle: "default",

      apiKey: "L3BZFvXTZ1rmkHg1LL0SU1Nx8EDhIBYexz-Yk3mvSATTTAwnnCWSbPhja1IAwOkE",
      baseUrl: "https://www.apimatic.io",
      enableExport: true,
      renameHttpToRest: true,
      enableConsoleCalls: true,
      useProxyForConsoleCalls: true,
      allowedLanguages: [
        "docs-http",
        "ruby_generic_lib",
        "node_javascript_lib",
        "python_generic_lib"
      ],
      themeOverrides: {
        palette: {
          primaryColor1: "#898b8e"
        }
      }
    });
  };
  document.getElementsByTagName("head")[0].appendChild(script);

</script>
<div id="apimatic-widget" style="width: 100%;"></div>