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);
by George Batt
<div id="box1"></div>
$btn = $('<button/>',{text:'Delete','data-icon':'delete'});
$('#box1').html($btn);