react input file type accept pdf code example
Example:
<input name="userfile" type="file" accept="application/pdf, application/vnd.ms-excel" />
<input name="userfile" type="file" accept="application/pdf, application/vnd.ms-excel" />