JSFiddle - React, Tailwind, and code Playground
by rowntreerob
HTML
<input type="file" name="audio" accept="audio/*" onchange="handleFiles(this.files)" capture=microphone>
</input>
JavaScript
window.handleFiles =
function(files) {alert("hi got the file");}