Skip to content

Commit 83d6408

Browse files
committed
1.1.3 fix style
1 parent 9fcb7e3 commit 83d6408

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-file-reader-input",
3-
"version": "1.1.2",
3+
"version": "1.1.3",
44
"description": "React file input component for complete control over styling and abstraction from file reading.",
55
"main": "./lib/index.js",
66
"devDependencies": {

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ export default class FileInput extends React.Component {
7878
const {as, style, ...props} = this.props;
7979

8080
return (
81-
<div className="_react-file-reader-input" onClick={this.triggerInput} style={props.style}>
81+
<div className="_react-file-reader-input" onClick={this.triggerInput} style={style}>
8282
<input {...props} children={undefined} type="file"
8383
onChange={this.handleChange} ref={c => this._reactFileReaderInput = c}
8484
onClick={() => {this._reactFileReaderInput.value = null;}}

0 commit comments

Comments
 (0)