JSFiddle - React, Tailwind, and code Playground

HTML

<input type="file" id="fu" size="10">
<br />
<input type="button" onclick="$('#fu').attr('size','50');" value ="enlarge"/>