JSFiddle - React, Tailwind, and code Playground
by honglonglong
HTML
<input type="file" id="fileInput" text="Upload Photo" />
<input type="button" id="fakeFile"/>
JavaScript
$().ready(function () {
$("#fakeFile").click(function () {
$("#fileInput").click();
});
});