Socket
Socket
Sign inDemoInstall

react-images-upload

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-images-upload - npm Package Compare versions

Comparing version 1.2.2 to 1.2.3

4

compiled.js

@@ -317,3 +317,3 @@ 'use strict';

'div',
{ className: 'fileContainer' },
{ className: 'fileContainer', style: this.props.fileContainerStyle },
this.renderIcon(),

@@ -358,2 +358,3 @@ this.renderLabel(),

className: '',
fileContainerStyle: {},
buttonClassName: "",

@@ -385,2 +386,3 @@ buttonStyles: {},

style: _propTypes2.default.object,
fileContainerStyle: _propTypes2.default.object,
className: _propTypes2.default.string,

@@ -387,0 +389,0 @@ onChange: _propTypes2.default.func,

@@ -211,3 +211,3 @@ import React from 'react';

<div className={"fileUploader " + this.props.className} style={this.props.style}>
<div className="fileContainer">
<div className="fileContainer" style={this.props.fileContainerStyle}>
{this.renderIcon()}

@@ -244,2 +244,3 @@ {this.renderLabel()}

className: '',
fileContainerStyle: {},
buttonClassName: "",

@@ -271,2 +272,3 @@ buttonStyles: {},

style: PropTypes.object,
fileContainerStyle: PropTypes.object,
className: PropTypes.string,

@@ -273,0 +275,0 @@ onChange: PropTypes.func,

{
"name": "react-images-upload",
"version": "1.2.2",
"version": "1.2.3",
"private": false,

@@ -5,0 +5,0 @@ "main": "compiled.js",

@@ -50,2 +50,3 @@ # Images uploader UI component

| className | String | - | Class name for the input. |
| fileContainerStyle | Object | - | Inline styles for the file container. |
| onChange | Function | - | On change handler for the input. |

@@ -52,0 +53,0 @@ | buttonClassName | String | - | Class name for upload button. |

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