Function FileInput

  • Parameters

    Returns Element

    a Button wrapper around an <input type="file"/> that allows the user to upload files

    import {FileInput} from 'muitils'
    // or
    import {FileInput} from 'muitils/Input'
    <FileInput 
    onChange={handleChange}
    inputProps={{ accept: '.png,.jpg,.jpeg' }}
    />