This commit is contained in:
janisslsm committed 2026-11-01 12:12:55 +02:00
1 parent 1781d25a15
commit 732c0ad767
33051 files changed
+2591613 -3019689

No files matched your search

+25
View File
@@ -0,0 +1,25 @@
// Metro module 1634 (f1635).
import { findHostInstance } from "./Module1635";
import { ReanimatedError } from "./Module1617";
export function getShadowNodeWrapperFromRef(a0, a1) {
let r3 = a1?.__internalInstanceHandle;
if (r3 == null) {
r3 = a0?.__internalInstanceHandle;
}
if (r3 == null) {
const r13 = a0 == null;
let r14 = void 0;
if (!r13) {
const getNativeScrollRef = a0.getNativeScrollRef;
r14 = getNativeScrollRef == null ? void 0 : getNativeScrollRef.call(a0)?.__internalInstanceHandle;
}
r3 = r14;
}
if (r3 == null) {
r3 = a0._reactInternals && findHostInstance(a0).__internalInstanceHandle;
}
if (r3) {
return r3.stateNode.node;
}
throw new ReanimatedError("Failed to find host instance for a ref.");
}