JSFiddle - React, Tailwind, and code Playground
HTML
<input type='file'>
JavaScript
$(document).ready(function() {
$('input').prop('disabled',true);
});
<input type='file'>
$(document).ready(function() {
$('input').prop('disabled',true);
});