JSFiddle - React, Tailwind, and code Playground
by Guillermo Ignacio Enriquez Gutierrez
HTML
<div id="dialog" title="Basic dialog">
<p>This is the default dialog which is useful for displaying information. The dialog window can be moved, resized and closed with the 'x' icon.</p>
</div>
<button>show</show>
JavaScript
$('#dialog').dialog({
});
$('button').click(function(){
_dialog.dialog('open');
});