how to reset input type file to null in reactjs code example Example: clear input file html react e.target.value = null;