Browse Source
type: update React.forwardRef type (#41189)
* type: update React.forwardRef type
* type: revert
pull/41207/head
lijianan
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
components/badge/ScrollNumber.tsx
|
|
@ -21,7 +21,7 @@ export interface ScrollNumberState { |
|
|
|
count?: string | number | null; |
|
|
|
} |
|
|
|
|
|
|
|
const ScrollNumber = React.forwardRef<React.Ref<HTMLDivElement>, ScrollNumberProps>( |
|
|
|
const ScrollNumber = React.forwardRef<HTMLElement, ScrollNumberProps>( |
|
|
|
( |
|
|
|
{ |
|
|
|
prefixCls: customizePrefixCls, |
|
|
|