dropzone react view photo

Solutions on MaxInterview for dropzone react view photo by the best coders in the world

showing results for - "dropzone react view photo"
Davida
02 Jan 2020
1<Dropzone
2            getUploadParams={getUploadParams}
3            onChangeStatus={handleChangeStatus}
4            onSubmit={handleSubmit}
5            accept="image/*,audio/*,video/*"
6            
7            inputContent={(files, extra) => (extra.reject ? 'Only Image, audio and video files allowed!' : 'Select and Drop Files')}
8            styles={{
9                dropzoneReject: { borderColor: '#F19373', backgroundColor: '#F1BDAB' },
10                inputLabel: (files, extra) => (extra.reject ? { color: '#A02800' } : {}),
11            }}
12 />