mirror of
https://github.com/ant-design/ant-design.git
synced 2026-02-09 02:49:18 +08:00
fix: update innerLoading to loading (#55789)
This commit is contained in:
@@ -359,7 +359,7 @@ const InternalCompoundedButton = React.forwardRef<
|
||||
let iconNode: React.ReactNode;
|
||||
if (icon && !innerLoading) {
|
||||
iconNode = iconWrapperElement(icon);
|
||||
} else if (innerLoading && typeof loading === 'object' && loading.icon) {
|
||||
} else if (loading && typeof loading === 'object' && loading.icon) {
|
||||
iconNode = iconWrapperElement(loading.icon);
|
||||
} else {
|
||||
iconNode = defaultLoadingIconElement();
|
||||
|
||||
Reference in New Issue
Block a user