showing results for - "on ddrop function react dropzone parameters"
Marie
07 Sep 2017
1 const onDrop = async (index, acceptedFiles) => {
2   .
3   .
4   .
5 }
6 
7  <Dropzone onDrop={acceptedFiles =>onDrop(1,acceptedFiles )} accept=".pdf" maxSize={50000000}>
Jacinda
09 Jan 2021
1onDrop(accepted, rejected, myArgument) {
2  console.log(accepted, rejected, myArgument)
3}
4
5<Dropzone onDrop={(accepted, rejected) => {this.onDrop(accepted, rejected, 'third')}}>
6  <p>Drop files here...</p>
7</Dropzone>