Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

on ddrop function react dropzone parameters

 const onDrop = async (index, acceptedFiles) => {
   .
   .
   .
 }
 
  <Dropzone onDrop={acceptedFiles =>onDrop(1,acceptedFiles )} accept=".pdf" maxSize={50000000}>
 
PREVIOUS NEXT
Tagged: #ddrop #function #react #dropzone #parameters
ADD COMMENT
Topic
Name
6+8 =