JSFiddle - React, Tailwind, and code Playground
HTML
<link rel="stylesheet" href="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css">
<script src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script>
<form>
</form>
JavaScript
function createInput() {
$('<input type="text" name="date" />').appendTo("form").datepicker();
};
$(createInput);