mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-29 05:29:37 +08:00
className in select
This commit is contained in:
parent
3795111cff
commit
7909033158
@ -18,7 +18,7 @@ var AntSelect = React.createClass({
|
||||
sizeClass = 'ant-select-sm';
|
||||
}
|
||||
return (
|
||||
<Select className={sizeClass} {...this.props} />
|
||||
<Select {...this.props} className={this.props.className + ' ' + sizeClass} />
|
||||
);
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user