Skip to content

Commit

Permalink
Fixing minor spelling mistake (#802)
Browse files Browse the repository at this point in the history
  • Loading branch information
raybooysen authored Feb 2, 2025
1 parent 57688ed commit 647f3b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/ui/upload-drop-zone/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ Drop Zones can use different configuration overrides that supersede the options
| dropHandler | [DropHandlerMethod](https://react-uploady.org/docs/api/components/uploadDropZone/#dropHandler) | undefined | override default handler that returns the drop result (ex: files). May return a promise |
| htmlDirContentParams | Object | undefined | will be passed as is to html-dir-content. See [docs](https://www.npmjs.com/package/html-dir-content#api) |
| shouldRemoveDragOver | [ShouldRemoveDragOverMethod](https://react-uploady.org/docs/api/components/uploadDropZone/#shouldRemoveDragOver) | undefined | callback to help identify when to remove the onDragOverClassName. Receives the dragleave event |
| shouldHandleDrag | boolean or [ShuoldHandleDragMethod](https://react-uploady.org/docs/api/components/uploadDropZone/#shouldHandleDrag) | undefined | Whether drag&drop should be handled, either boolean or method returning boolean |
| shouldHandleDrag | boolean or [ShouldHandleDragMethod](https://react-uploady.org/docs/api/components/uploadDropZone/#shouldHandleDrag) | undefined | Whether drag&drop should be handled, either boolean or method returning boolean |
| enableOnContains | boolean | true | By default will handle drag-enter for children of the container and not just the container itself |
| children | React.Node | undefined | child element(s) to render inside the container |
| extraProps | Object | undefined | any other props to pass to the div component (with spread) |
Expand Down Expand Up @@ -102,4 +102,4 @@ const App = () => (
```

See [story](https://react-uploady-storybook.netlify.com/?path=/story/upload-drop-zone--with-third-party-drop-zone) showing how to use a 3rd library: [react-dnd](https://github.com/react-dnd/react-dnd/)
together with _@rpldy/upload-drop-zone_.
together with _@rpldy/upload-drop-zone_.

0 comments on commit 647f3b1

Please sign in to comment.