JSFiddle - React, Tailwind, and code Playground

by Krishna Gopinath

HTML

<div data-role="page" id="one">
</div>

JavaScript

$("#one").append('<a href="" data-role="button" data-theme="c" data-inline="true" id="logoutButton"> LOGOUT </a>').find("#logoutButton").buttonMarkup("refresh");