JSFiddle - React, Tailwind, and code Playground

by Malin Jayakody

HTML

<input type="file" />

JavaScript

$('input').change(function(e) {
  console.log(this.files[0]);
});