JSFiddle - React, Tailwind, and code Playground

by George Batt

HTML

<div id="box1"></div>

JavaScript

$btn = $('<button/>',{text:'Delete','data-icon':'delete'});
$('#box1').html($btn);