Skip to content

Commit

Permalink
Include a className of 'is-clearable' if clearable is true
Browse files Browse the repository at this point in the history
  • Loading branch information
DDiaz committed Apr 6, 2017
1 parent a0e5855 commit c81b9c9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Select.js
Original file line number Diff line number Diff line change
Expand Up @@ -1079,6 +1079,7 @@ const Select = React.createClass({
let className = classNames('Select', this.props.className, {
'Select--multi': this.props.multi,
'Select--single': !this.props.multi,
'is-clearable': this.props.clearable,
'is-disabled': this.props.disabled,
'is-focused': this.state.isFocused,
'is-loading': this.props.isLoading,
Expand Down

0 comments on commit c81b9c9

Please sign in to comment.