Check out example codes for "clear input file html react". It will help you in understanding the concepts better.

Code Example 1

e.target.value = null;

Learn ReactJs, React Native from akashmittal.com