JSFiddle - React, Tailwind, and code Playground
HTML
<a href="javascript:document.getElementById('test').value='';void(0);">reset</a>
<input type="file" id="test" />
<a href="javascript:document.getElementById('test').value='';void(0);">reset</a>
<input type="file" id="test" />