Skip to content

Commit 0653cf5

Browse files
Update innerRef to Ref
1 parent 9e106ef commit 0653cf5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/types.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { ReactNode, RefObject, SVGProps } from 'react';
1+
import { ReactNode, Ref, SVGProps } from 'react';
22

33
import { STATUS } from './config';
44

@@ -14,7 +14,7 @@ export type Props = Simplify<
1414
children?: ReactNode;
1515
description?: string;
1616
fetchOptions?: RequestInit;
17-
innerRef?: RefObject<SVGElement | null>;
17+
innerRef?: Ref<SVGElement | null>;
1818
loader?: ReactNode;
1919
onError?: ErrorCallback;
2020
onLoad?: LoadCallback;

0 commit comments

Comments
 (0)