JSFiddle - React, Tailwind, and code Playground

JavaScript

!(function (t) {
    "use strict";
    "function" == typeof define && define.amd ? define(["jquery"], t) : "undefined" != typeof module && module.exports ? (module.exports = t(require("jquery"))) : t(jQuery);
})(function (t) {
    var e = -1,
        o = -1,
        n = function (t) {
            return parseFloat(t) || 0;
        },
        a = function (e) {
            var o = 1,
                a = t(e),
                i = null,
                r = [];
            return (
                a.each(function () {
                    var e = t(this),
                        a = e.offset().top - n(e.css("margin-top")),
                        s = r.length > 0 ? r[r.length - 1] : null;
                    null === s ? r.push(e) : Math.floor(Math.abs(i - a)) <= o ? (r[r.length - 1] = s.add(e)) : r.push(e), (i = a);
                }),
                r
            );
        },
        i = function (e) {
            var o = {
                byRow: !0,
                property: "height",
                target: null,
                remove: !1,
            };
            return "object" == typeof e ? t.extend(o, e) : ("boolean" == typeof e ? (o.byRow = e) : "remove" === e && (o.remove = !0), o);
        },
        r = (t.fn.matchHeight = function (e) {
            var o = i(e);
            if (o.remove) {
                var n = this;
                return (
                    this.css(o.property, ""),
                    t.each(r._groups, function (t, e) {
                        e.elements = e.elements.not(n);
                    }),
                    this
                );
            }
            return this.length <= 1 && !o.target ? this : (r._groups.push({ elements: this, options: o }), r._apply(this, o), this);
        });
    (r.version = "0.7.2"),
        (r._groups = []),
        (r._throttle = 80),
        (r._maintainScroll = !1),
        (r._beforeUpdate = null),
        (r._afterUpdate = null),
        (r._rows = a),
        (r._parse = n),
    ...