Skip to content

Commit

Permalink
Merge pull request JedWatson#1652 from dan-diaz/isClearable
Browse files Browse the repository at this point in the history
Include a className of 'is-clearable' if clearable is true
  • Loading branch information
JedWatson authored May 14, 2017
2 parents af8f58d + 75d6372 commit 5269a85
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 @@ -1081,6 +1081,7 @@ const Select = 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 5269a85

Please sign in to comment.