JSFiddle - React, Tailwind, and code Playground

by Flexmonster Pivot Table

HTML

<link rel="stylesheet" href="https://s3.amazonaws.com/flexmonster/2.3/demo.css">
<script src="https://cdn.flexmonster.com/flexmonster.js"></script>

<div id="pivot-container"></div>

JavaScript

var pivot = new Flexmonster({
	container: "pivot-container",
  componentFolder: "https://cdn.flexmonster.com/",
  toolbar: true,
  beforetoolbarcreated: customizeToolbar
});

function customizeToolbar(toolbar) {
    // get all tabs
    var tabs = toolbar.getTabs(); 
		toolbar.getTabs = function () {
    		//remove all default tabs
        tabs = [];
        // add new tab
        tabs.unshift({
            id: "fm-tab-newtab",
            title: "Conditions",
            handler: this.conditionalFormattingHandler,
            icon: this.icons.format_conditional
        });
        return tabs;
    }
}