JSFiddle - React, Tailwind, and code Playground

HTML

<input type="text" id="StartDate" value="2013-12-12" />

JavaScript

$("#StartDate").datepicker({ dateFormat: 'yy-mm-dd' });