Skip to content

Commit

Permalink
docs: typo fix in previews page
Browse files Browse the repository at this point in the history
closes #1193
  • Loading branch information
Armanio authored and rolandjitsu committed Jun 11, 2022
1 parent a2039fd commit 86ea1df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/previews/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Starting with version 7.0.0, the `{preview}` property generation on the [File](https://developer.mozilla.org/en-US/docs/Web/API/File) objects and the `{disablePreview}` property on the `<Dropzone>` have been removed.

If you need need the `{preview}`, it can be easily achieved in the `onDrop()` callback:
If you need the `{preview}`, it can be easily achieved in the `onDrop()` callback:

```jsx harmony
import React, {useEffect, useState} from 'react';
Expand Down

0 comments on commit 86ea1df

Please sign in to comment.