react-dropzone
Advanced tools
Comparing version 11.3.5 to 11.4.0
@@ -89,3 +89,3 @@ If you'd like to prevent drag events propagation from the child to parent, you can use the `{noDragEventsBubbling}` property on the child: | ||
Note that you can prevent the default behavior for click and keyboard events if you ommit the input: | ||
Note that you can prevent the default behavior for click and keyboard events if you omit the input: | ||
```jsx harmony | ||
@@ -92,0 +92,0 @@ import React from 'react'; |
@@ -169,3 +169,3 @@ { | ||
}, | ||
"version": "11.3.5", | ||
"version": "11.4.0", | ||
"engines": { | ||
@@ -172,0 +172,0 @@ "node": ">= 10" |
@@ -145,3 +145,3 @@ ![react-dropzone logo](https://raw.githubusercontent.com/react-dropzone/react-dropzone/master/logo/logo.png) | ||
*Important*: if you ommit rendering an `<input>` and/or binding the props from `getInputProps()`, opening a file dialog will not be possible. | ||
*Important*: if you omit rendering an `<input>` and/or binding the props from `getInputProps()`, opening a file dialog will not be possible. | ||
@@ -298,6 +298,8 @@ ## Refs | ||
React Dropzone integrates perfectly with [Doka Image Editor](https://pqina.nl/doka/?ref=react-dropzone), creating a modern image editing experience. Doka supports crop aspect ratios, resizing, rotating, cropping, annotating, filtering, and much more. | ||
Checkout the [integration example](https://react-dropzone.js.org/#!/Doka). | ||
React Dropzone integrates perfectly with [Pintura Image Editor](https://pqina.nl/pintura/?ref=react-dropzone), creating a modern image editing experience. Pintura supports crop aspect ratios, resizing, rotating, cropping, annotating, filtering, and much more. | ||
Checkout the [Pintura integration example](https://codesandbox.io/s/react-dropzone-pintura-40xh4?file=/src/App.js). | ||
## Supported Browsers | ||
@@ -304,0 +306,0 @@ |
@@ -11,5 +11,12 @@ import * as React from "react"; | ||
export enum ErrorCode { | ||
FileInvalidType = 'file-invalid-type', | ||
FileTooLarge = 'file-too-large', | ||
FileTooSmall = 'file-too-small', | ||
TooManyFiles = 'too-many-files', | ||
} | ||
export interface FileError { | ||
message: string; | ||
code: "file-too-large" | "file-too-small" | "too-many-files" | "file-invalid-type" | string; | ||
code: ErrorCode | string; | ||
} | ||
@@ -16,0 +23,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
348556
5466
382