|
|
@ -146,7 +146,7 @@ export default class Button extends React.Component<ButtonProps, any> { |
|
|
|
[`${prefixCls}-${type}`]: type, |
|
|
|
[`${prefixCls}-${shape}`]: shape, |
|
|
|
[`${prefixCls}-${sizeCls}`]: sizeCls, |
|
|
|
[`${prefixCls}-icon-only`]: !children && icon && !loading, |
|
|
|
[`${prefixCls}-icon-only`]: !children && icon, |
|
|
|
[`${prefixCls}-loading`]: loading, |
|
|
|
[`${prefixCls}-clicked`]: clicked, |
|
|
|
[`${prefixCls}-background-ghost`]: ghost, |
|
|
|