Skip to content

Commit 5269a85

Browse files
authored
Merge pull request #1652 from dan-diaz/isClearable
Include a className of 'is-clearable' if clearable is true
2 parents af8f58d + 75d6372 commit 5269a85

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Select.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1081,6 +1081,7 @@ const Select = createClass({
10811081
let className = classNames('Select', this.props.className, {
10821082
'Select--multi': this.props.multi,
10831083
'Select--single': !this.props.multi,
1084+
'is-clearable': this.props.clearable,
10841085
'is-disabled': this.props.disabled,
10851086
'is-focused': this.state.isFocused,
10861087
'is-loading': this.props.isLoading,

0 commit comments

Comments
 (0)