JSFiddle - React, Tailwind, and code Playground
HTML
<link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.2/themes/base/jquery-ui.css">
<div class="demo">
<button>A button element</button>
<input type="submit" value="A submit button">
<a href="http://google.com">An anchor</a>
</div><!-- End demo -->
JavaScript
$(function() {
$("button, input:submit, a", ".demo")
.button({icons: {
primary: 'ui-icon-wrench'
}
});
$("a", ".demo").click(function() { });
});