Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4973.js (118.4 MB)
35 lines
1.1 KiB
TypeScript
35 lines
1.1 KiB
TypeScript
// Module ID: 10616
|
|
// Function ID: 10617
|
|
// Name: useModalDismissGuardRefreshControl
|
|
// Dependencies: [19, 17, 21, 10617, 1364, 2]
|
|
// Exports: useModalDismissGuardRefreshControl
|
|
|
|
// Module 10616 (useModalDismissGuardRefreshControl)
|
|
import PlatformUtils from "PlatformUtils" /* 1364 */;
|
|
import noop_mod from "module_19" /* 19 */;
|
|
|
|
require = fn;
|
|
function noop() {
|
|
|
|
}
|
|
let noop = noop_mod;
|
|
const RefreshControl = fn(17).RefreshControl;
|
|
const jsx = fn(21).jsx;
|
|
const size = fn(2);
|
|
const result = size.fileFinishedImporting("modules/keyboard/native/useModalDismissGuardRefreshControl.tsx");
|
|
|
|
export const useModalDismissGuardRefreshControl = function useModalDismissGuardRefreshControl() {
|
|
isPortalKeyboardInModal = isPortalKeyboardInModal(10617).useIsPortalKeyboardInModal();
|
|
const items = [isPortalKeyboardInModal];
|
|
return noop.useMemo(() => {
|
|
let tmp;
|
|
if (isPortalKeyboardInModal) {
|
|
if (obj.isIOS()) {
|
|
const obj2 = { refreshing: false, onRefresh: noop, tintColor: "transparent" };
|
|
tmp = <RefreshControl refreshing={false} onRefresh={noop} tintColor="transparent" />;
|
|
}
|
|
obj = PlatformUtils;
|
|
}
|
|
return tmp;
|
|
}, items);
|
|
};
|