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
parent
commit
2f02fe01f0
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      components/badge/ScrollNumber.tsx

2
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,

Loading…
Cancel
Save