Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-dropzone

Package Overview
Dependencies
Maintainers
2
Versions
189
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.0.5 to 10.0.6

typings/tests/refs.tsx

2

package.json

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

},
"version": "10.0.5",
"version": "10.0.6",
"engines": {

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

import * as React from "react";
export default function Dropzone(props: DropzoneProps): JSX.Element;
export default function Dropzone(props: DropzoneProps & React.RefAttributes<DropzoneRef>): JSX.Element;
export function useDropzone(options?: DropzoneOptions): DropzoneState;

@@ -25,3 +25,3 @@

export type DropzoneState = {
export type DropzoneState = DropzoneRef & {
isFocused: boolean;

@@ -39,5 +39,8 @@ isDragActive: boolean;

getInputProps(props?: DropzoneInputProps): DropzoneInputProps;
open(): void;
};
export interface DropzoneRef {
open(): void;
}
export interface DropzoneRootProps extends React.HTMLAttributes<HTMLElement> {

@@ -44,0 +47,0 @@ refKey?: string;

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