kiner-tang(文辉)
1 year ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
2 deletions
-
components/button/button.tsx
|
|
@ -210,9 +210,9 @@ const InternalButton: React.ForwardRefRenderFunction< |
|
|
|
|
|
|
|
const sizeClassNameMap = { large: 'lg', small: 'sm', middle: undefined }; |
|
|
|
|
|
|
|
const sizeFullname = useSize((ctxSize) => customizeSize ?? compactSize ?? groupSize ?? ctxSize); |
|
|
|
const sizeFullName = useSize((ctxSize) => customizeSize ?? compactSize ?? groupSize ?? ctxSize); |
|
|
|
|
|
|
|
const sizeCls = sizeFullname ? sizeClassNameMap[sizeFullname] || '' : ''; |
|
|
|
const sizeCls = sizeFullName ? sizeClassNameMap[sizeFullName] || '' : ''; |
|
|
|
|
|
|
|
const iconType = innerLoading ? 'loading' : icon; |
|
|
|
|
|
|
|