From 78ec439675001614f626fb7edfdf4f8a0e135df4 Mon Sep 17 00:00:00 2001 From: Shawn Sit Date: Tue, 28 Jun 2016 17:18:20 +0800 Subject: [PATCH] bugfixs: should use className's value not 'className'. (#2202) --- components/dropdown/dropdown-button.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/dropdown/dropdown-button.jsx b/components/dropdown/dropdown-button.jsx index e5b330d956..da0cd98e3f 100644 --- a/components/dropdown/dropdown-button.jsx +++ b/components/dropdown/dropdown-button.jsx @@ -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 (