diff --git a/lib/index.js b/lib/index.js index 048fcf3..4963a1f 100644 --- a/lib/index.js +++ b/lib/index.js @@ -44,7 +44,8 @@ var FileInput = React.createClass({ onChange: this.handleChange, disabled: this.props.disabled, accept: this.props.accept, - style: this.state.styles.file + style: this.state.styles.file, + multiple: this.props.multiple }), // Emulated file input diff --git a/package.json b/package.json index eccaad0..7e835fa 100644 --- a/package.json +++ b/package.json @@ -25,6 +25,6 @@ }, "homepage": "https://github.com/captivationsoftware/react-file-input", "peerDependencies": { - "react": "0.x" + "react": "0.x || 15.x" } }