We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9e106ef commit 0653cf5Copy full SHA for 0653cf5
1 file changed
src/types.ts
@@ -1,4 +1,4 @@
1
-import { ReactNode, RefObject, SVGProps } from 'react';
+import { ReactNode, Ref, SVGProps } from 'react';
2
3
import { STATUS } from './config';
4
@@ -14,7 +14,7 @@ export type Props = Simplify<
14
children?: ReactNode;
15
description?: string;
16
fetchOptions?: RequestInit;
17
- innerRef?: RefObject<SVGElement | null>;
+ innerRef?: Ref<SVGElement | null>;
18
loader?: ReactNode;
19
onError?: ErrorCallback;
20
onLoad?: LoadCallback;
0 commit comments