JSFiddle - React, Tailwind, and code Playground

HTML

<div id="dialog"></div>

JavaScript

$(function(){
    $('#dialog').dialog({
        title: '<p>test</p>'
    });
});