Merge branch '1.x-stable' of github.com:ant-design/ant-design into 1.x-stable

This commit is contained in:
afc163 2016-06-28 18:33:24 +08:00
commit 029183d5cf

View File

@ -23,7 +23,7 @@ export default class DropdownButton extends React.Component {
const { type, overlay, trigger, align, children, className, onClick, ...restProps } = this.props;
const cls = classNames({
'ant-dropdown-button': true,
className: !!className,
[className]: !!className,
});
return (
<ButtonGroup {...restProps} className={cls}>