Skip to content

Commit c81b9c9

Browse files
author
DDiaz
committed
Include a className of 'is-clearable' if clearable is true
1 parent a0e5855 commit c81b9c9

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
@@ -1079,6 +1079,7 @@ const Select = React.createClass({
10791079
let className = classNames('Select', this.props.className, {
10801080
'Select--multi': this.props.multi,
10811081
'Select--single': !this.props.multi,
1082+
'is-clearable': this.props.clearable,
10821083
'is-disabled': this.props.disabled,
10831084
'is-focused': this.state.isFocused,
10841085
'is-loading': this.props.isLoading,

0 commit comments

Comments
 (0)