Skip to content

Commit

Permalink
inputRef should support React.createRef odysseyscience#176
Browse files Browse the repository at this point in the history
  • Loading branch information
mihaimartalogu committed Feb 7, 2019
1 parent e372cf5 commit 56794f7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ReactS3Uploader.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,10 @@ var ReactS3Uploader = createReactClass({
server: PropTypes.string,
scrubFilename: PropTypes.func,
s3path: PropTypes.string,
inputRef: PropTypes.func,
inputRef: PropTypes.oneOfType([
PropTypes.object,
PropTypes.func
]),
autoUpload: PropTypes.bool
},

Expand Down

0 comments on commit 56794f7

Please sign in to comment.