JSFiddle - React, Tailwind, and code Playground

HTML

<label for="textInput">Label 1</label><input id="textInput" type="text" />
<label for="fileInput">Label 2</label><input id="fileInput" type="file" />