react-dropzone 14.3.7 → 14.3.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/es/index.js +2 -2
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/src/index.js +2 -2
- package/typings/react-dropzone.d.ts +2 -1
package/package.json
CHANGED
package/src/index.js
CHANGED
|
@@ -154,7 +154,7 @@ Dropzone.propTypes = {
|
|
|
154
154
|
/**
|
|
155
155
|
* Use this to provide a custom file aggregator
|
|
156
156
|
*
|
|
157
|
-
* @param {(DragEvent|Event)} event A drag event or input change event (if files were selected via the file dialog)
|
|
157
|
+
* @param {(DragEvent|Event|Array<FileSystemFileHandle>)} event A drag event or input change event (if files were selected via the file dialog)
|
|
158
158
|
*/
|
|
159
159
|
getFilesFromEvent: PropTypes.func,
|
|
160
160
|
|
|
@@ -310,7 +310,7 @@ export default Dropzone;
|
|
|
310
310
|
* in a asynchronous fashion, from drag or input change events.
|
|
311
311
|
*
|
|
312
312
|
* @callback getFilesFromEvent
|
|
313
|
-
* @param {(DragEvent|Event)} event A drag event or input change event (if files were selected via the file dialog)
|
|
313
|
+
* @param {(DragEvent|Event|Array<FileSystemFileHandle>)} event A drag event or input change event (if files were selected via the file dialog)
|
|
314
314
|
* @returns {(File[]|Promise<File[]>)}
|
|
315
315
|
*/
|
|
316
316
|
|