JSFiddle - React, Tailwind, and code Playground

HTML

<input type='file'>

JavaScript

$(document).ready(function() {
$('input').prop('disabled',true);
});