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

+18
View File
@@ -0,0 +1,18 @@
// Metro module 5365 (f5366).
import { useLayoutEffect } from "react";
import { isFabricInstalled } from "./Module5268";
export function useBoundingClientRect(c14830_0, c14830_1) {
if (isFabricInstalled()) {
useLayoutEffect(() => {
if (c14830_0 && c14830_0.current) {
if (typeof c14830_0.current.unstable_getBoundingClientRect !== "function") {
if (typeof c14830_0.current.getBoundingClientRect === "function") {
c14830_1(c14830_0.current.getBoundingClientRect());
}
} else {
c14830_1(c14830_0.current.unstable_getBoundingClientRect());
}
}
});
}
}