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

@@ -0,0 +1,28 @@
// Metro module 10563 (f10564).
import { forwardRef, useRef, useImperativeHandle } from "react";
import { PixelRatio } from "react-native";
import Module10564, { Commands } from "../../_bundle/Module10564";
const r23 = forwardRef(function(a0, a1) {
const ref = useRef(null);
useImperativeHandle(a1, () => ({
zoomTo: ({ x: r4, y: r7, scale = 2, animated = true }) => {
if (ref.current != null) {
const r20 = PixelRatio.get();
const r21 = r4 * r20;
const r22 = r7 * r20;
Commands.zoomTo(ref.current, r21 / scale - r21, r22 / scale - r22, scale, animated);
}
},
unzoom: function unzoom(r2 = {}) {
let animated = r2.animated;
if (animated === void 0) {
animated = true;
}
if (ref.current != null) {
Commands.unzoom(ref.current, animated);
}
}
}));
return <Module10564 {...a0} ref={ref} />;
});
export default r23;