className in select

This commit is contained in:
afc163 2015-08-22 14:23:58 +08:00
parent 3795111cff
commit 7909033158

View File

@ -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} />
); );
} }
}); });