JSFiddle - React, Tailwind, and code Playground
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");