We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c69232 commit 941d1d8Copy full SHA for 941d1d8
src/utilities/getRefNativeTag.web.ts
@@ -0,0 +1,5 @@
1
+import type { RefObject } from 'react';
2
+
3
+export function getRefNativeTag(ref: RefObject<any>) {
4
+ return ref?.current || null;
5
+}
0 commit comments