JSFiddle - React, Tailwind, and code Playground
HTML
<link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.21/themes/base/jquery-ui.css">
<!DOCTYPE html>
<html dir="RTL">
<body>
<div id="main">
<form>
Date: <input type="text" id="datepicker"/>
</form>
</div>
</body>
</html>
JavaScript
$(document).ready(function () {
$( "#datepicker" ).datepicker({isRTL: false, appendText: 'test', showOn: "button"
});
});