rc-upload
Advanced tools
Comparing version 1.3.0 to 1.3.1
@@ -82,4 +82,7 @@ 'use strict'; | ||
React.createElement('input', { type: 'file', | ||
ref: 'file', style: hidden, | ||
accept: props.accept, onChange: this._onChange }), | ||
ref: 'file', | ||
style: hidden, | ||
accept: props.accept, | ||
multiple: this.props.multiple, | ||
onChange: this._onChange }), | ||
props.children | ||
@@ -86,0 +89,0 @@ ); |
@@ -20,3 +20,4 @@ 'use strict'; | ||
data: PropTypes.object, | ||
accept: PropTypes.string | ||
accept: PropTypes.string, | ||
multiple: PropTypes.bool | ||
}, | ||
@@ -32,3 +33,4 @@ | ||
onError: empty, | ||
onSuccess: empty | ||
onSuccess: empty, | ||
multiple: false | ||
}; | ||
@@ -35,0 +37,0 @@ }, |
{ | ||
"name": "rc-upload", | ||
"version": "1.3.0", | ||
"version": "1.3.1", | ||
"description": "upload ui component for react", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -54,2 +54,3 @@ # rc-upload | ||
|accept | string | | input accept attribute | | ||
| multiple | boolean | false | only support ie10+| | ||
|onStart | function| | start upload file | | ||
@@ -56,0 +57,0 @@ |onError| function| | error callback | |
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
9179
219
74