JSFiddle - React, Tailwind, and code Playground

by lun471k

JavaScript

$('<p>An example</p>').dialog({
    close: function () {
        alert('Closing...');
        $(this).dialog("destroy");
    },
    hide:"fadeOut"
});