Skip to content

Commit

Permalink
send ref holder to inputrenderer
Browse files Browse the repository at this point in the history
  • Loading branch information
Arjun-sna committed Jul 28, 2019
1 parent 51b8a87 commit fc8868b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/react-dropdown-select.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/components/Input.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/components/Input.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class Input extends Component {
const { props, state, methods } = this.props;

if (props.inputRenderer) {
return props.inputRenderer({ props, state, methods });
return props.inputRenderer({ props, state, methods, inputRef: this.input });
}

return (
Expand Down

0 comments on commit fc8868b

Please sign in to comment.