Socket
Socket
Sign inDemoInstall

react-dropzone

Package Overview
Dependencies
Maintainers
2
Versions
176
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-dropzone - npm Package Compare versions

Comparing version 10.1.4 to 10.1.5

2

package.json

@@ -168,3 +168,3 @@ {

},
"version": "10.1.4",
"version": "10.1.5",
"engines": {

@@ -171,0 +171,0 @@ "node": ">= 8"

import * as React from "react";
export { FileWithPath } from "file-selector";
export default function Dropzone(props: DropzoneProps & React.RefAttributes<DropzoneRef>): JSX.Element;

@@ -20,5 +21,5 @@ export function useDropzone(options?: DropzoneOptions): DropzoneState;

disabled?: boolean;
onDrop?(acceptedFiles: File[], rejectedFiles: File[], event: DropEvent): void;
onDropAccepted?(files: File[], event: DropEvent): void;
onDropRejected?(files: File[], event: DropEvent): void;
onDrop?<T extends File>(acceptedFiles: T[], rejectedFiles: T[], event: DropEvent): void;
onDropAccepted?<T extends File>(files: T[], event: DropEvent): void;
onDropRejected?<T extends File>(files: T[], event: DropEvent): void;
getFilesFromEvent?(event: DropEvent): Promise<Array<File | DataTransferItem>>;

@@ -25,0 +26,0 @@ onFileDialogCancel?(): void;

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc