New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@rpldy/upload-button

Package Overview
Dependencies
Maintainers
1
Versions
112
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rpldy/upload-button - npm Package Compare versions

Comparing version 0.17.1 to 0.17.2

10

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

@@ -33,7 +33,7 @@ "description": "upload button component and asUploadButton HOC",

"dependencies": {
"@rpldy/shared-ui": "^0.17.1"
"@rpldy/shared-ui": "^0.17.2"
},
"devDependencies": {
"@rpldy/retry": "^0.17.1",
"@rpldy/uploady": "^0.17.1",
"@rpldy/retry": "^0.17.2",
"@rpldy/uploady": "^0.17.2",
"flow-bin": "^0.169.0",

@@ -49,3 +49,3 @@ "styled-components": "^5.3.3"

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

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

> Note: Some options cannot be overriden by the button. For example, any prop that influences the file input directly (such as '_multiple_')
> Note: Some options cannot be overridden by the button. For example, any prop that influences the file input directly (such as '_multiple_')
**The best place to get started is at our: [React-Uploady Documentation Website](https://react-uploady.netlify.app)**
## Installation

@@ -35,11 +37,11 @@

| Name (* = mandatory) | Type | Default | Description
| -------------- | ------------- | ------------- | -------------
| id | string | undefined | id attribute to pass to the button element
| text | string | "Upload" | the button text (in case no children passed)
| className | string | undefined | the class attribute to pass to the button element
| children | React.Node | undefined | child element(s) to render inside the button (replaces text)
| extraProps | Object | undefined | any other props to pass to the button component (with spread)
| ref | React ref | undefined | will be passed to the button element to acquire a ref
| onClick | EventHandler | undefined | function to handle button click (called after showing the system's file selection dialog)
| Name (* = mandatory) | Type | Default | Description |
| -------------- | ------------- | ------------- |-------------------------------------------------------------------------------------------|
| id | string | undefined | id attribute to pass to the button element |
| text | string | "Upload" | the button text (in case no children passed) |
| className | string | undefined | the class attribute to pass to the button element |
| children | React.Node | undefined | child element(s) to render inside the button (replaces text) |
| extraProps | Object | undefined | any other props to pass to the button component (with spread) |
| ref | React ref | undefined | will be passed to the button element to acquire a ref |
| onClick | EventHandler | undefined | function to handle button click (called after showing the system's file selection dialog) |

@@ -46,0 +48,0 @@ In addition, most [UploadOptions](../../core/shared/src/types.js#L104) props can be passed to UploadButton.

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