react-images-upload
Advanced tools
Comparing version 1.2.2 to 1.2.3
@@ -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. | |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
28806
735
73