decord/source/modules/screen/useIsScreenLandscape.native.tsx
github-actions cd74c1f217 chore: update source for alpha 345.5
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9667_m.js (378 MB)
2026-09-05 10:56:28 +00:00

25 lines
893 B
TypeScript

// Module ID: 5126
// Function ID: 5127
// Name: getIsScreenLandscape
// Dependencies: [19, 1478, 1480, 2]
// Exports: getIsScreenLandscape, useIsScreenLandscape
// Module 5126 (getIsScreenLandscape)
import closure_2 from "noop" /* 19 */;
import closure_3 from "getDimensionsStoreStateForEntry" /* 1478 */;
const require = arg1;
const result = require("set").fileFinishedImporting("modules/screen/useIsScreenLandscape.native.tsx");
export const getIsScreenLandscape = function getIsScreenLandscape() {
let str = arg0;
if (arg0 === undefined) {
str = "main";
}
return state.getState().byAppEntry[str].screenIsLandscape;
};
export const useIsScreenLandscape = function useIsScreenLandscape() {
appEntryKey = appEntryKey(1480).useAppEntryKey();
const items = [appEntryKey];
return state(React.useCallback((arg0) => arg0.byAppEntry[appEntryKey].screenIsLandscape, items));
};