a Button wrapper around an <input type="file"/> that allows the user to upload files
<input type="file"/>
import {FileInput} from 'muitils'// orimport {FileInput} from 'muitils/Input' Copy
import {FileInput} from 'muitils'// orimport {FileInput} from 'muitils/Input'
<FileInput onChange={handleChange} inputProps={{ accept: '.png,.jpg,.jpeg' }}/> Copy
<FileInput onChange={handleChange} inputProps={{ accept: '.png,.jpg,.jpeg' }}/>
Description
a Button wrapper around an
<input type="file"/>
that allows the user to upload filesImporting
Example