Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

on ddrop function react dropzone parameters

onDrop(accepted, rejected, myArgument) {
  console.log(accepted, rejected, myArgument)
}

<Dropzone onDrop={(accepted, rejected) => {this.onDrop(accepted, rejected, 'third')}}>
  <p>Drop files here...</p>
</Dropzone>
Source by github.com #
 
PREVIOUS NEXT
Tagged: #ddrop #function #react #dropzone #parameters
ADD COMMENT
Topic
Name
6+9 =