mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-01 03:29:39 +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';
|
sizeClass = 'ant-select-sm';
|
||||||
}
|
}
|
||||||
return (
|
return (
|
||||||
<Select className={sizeClass} {...this.props} />
|
<Select {...this.props} className={this.props.className + ' ' + sizeClass} />
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user