decord/source/1760_setAndForwardRef.js

25 lines
601 B
JavaScript
Raw Normal View History

2026-08-15 05:55:55 +00:00
// Module ID: 1760
// Function ID: 1761
2026-07-20 16:05:17 +00:00
// Name: setAndForwardRef
// Dependencies: []
2026-08-15 05:55:55 +00:00
// Module 1760 (setAndForwardRef)
2026-07-20 16:05:17 +00:00
arg5.default = function setAndForwardRef(arg0) {
({ getForwardedRef: closure_0, setLocalRef: closure_1 } = arg0);
return function forwardRef(BottomSheet) {
2026-07-29 08:29:29 +00:00
const tmp = callback();
callback2(BottomSheet);
2026-08-04 21:03:28 +00:00
if (typeof tmp === "function") {
2026-07-20 16:05:17 +00:00
tmp(BottomSheet);
} else {
2026-08-04 21:03:28 +00:00
let tmp4 = typeof tmp === "object";
if (typeof tmp === "object") {
2026-07-20 16:05:17 +00:00
tmp4 = null != tmp;
}
if (tmp4) {
tmp.current = BottomSheet;
}
}
};
};