Socket
Socket
Sign inDemoInstall

@rpldy/upload-drop-zone

Package Overview
Dependencies
Maintainers
1
Versions
105
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.17.1 to 0.17.2

12

package.json
{
"version": "0.17.1",
"version": "0.17.2",
"name": "@rpldy/upload-drop-zone",

@@ -34,9 +34,9 @@ "description": "drop zone (container) component to initiate file and folder content uploads",

"dependencies": {
"@rpldy/shared-ui": "^0.17.1",
"@rpldy/shared-ui": "^0.17.2",
"html-dir-content": "^0.3.2"
},
"devDependencies": {
"@rpldy/shared": "^0.17.1",
"@rpldy/upload-button": "^0.17.1",
"@rpldy/uploady": "^0.17.1",
"@rpldy/shared": "^0.17.2",
"@rpldy/upload-button": "^0.17.2",
"@rpldy/uploady": "^0.17.2",
"flow-bin": "^0.169.0",

@@ -54,3 +54,3 @@ "react-dnd": "^14.0.4",

},
"gitHead": "a2c8859a977192f98cfd70783896d771979b2a91"
"gitHead": "9f8502ed93c5060a6d77e929e49d6657c8be4b32"
}

@@ -25,2 +25,4 @@ <a href="https://badge.fury.io/js/%40rpldy%2Fupload-drop-zone">

**The best place to get started is at our: [React-Uploady Documentation Website](https://react-uploady.netlify.app)**
## Installation

@@ -38,11 +40,11 @@

| Name (* = mandatory) | Type | Default | Description
| -------------- | ------------- | ------------- | -------------
| id | string | undefined | id attribute to pass to the container element
| className | string | undefined | the class attribute to pass to the container element
| onDragOverClassName | string | undefined | class name to add to the container when dragged over
| dropHandler | [DropHandlerMethod](src/types.js#L4) | 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)
| 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)
| Name (* = mandatory) | Type | Default | Description |
| -------------- | ------------- | ------------- | -------------|
| id | string | undefined | id attribute to pass to the container element|
| className | string | undefined | the class attribute to pass to the container element|
| onDragOverClassName | string | undefined | class name to add to the container when dragged over|
| dropHandler | [DropHandlerMethod](src/types.js#L4) | 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)|
| 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)|

@@ -65,4 +67,5 @@ In addition, most [UploadOptions](../../core/shared/src/types.js#L104) props can be passed to UploadDropZone.

<UploadDropZone onDragOverClassName="drag-over"
grouped={grouped}
maxGroupSize={groupSize}>
grouped
maxGroupSize={3}
>
<span>Drag&Drop File(s) Here</span>

@@ -69,0 +72,0 @@ </UploadDropZone>

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc