JSFiddle - React, Tailwind, and code Playground

HTML

<button><input type="file"/></button>