decord/source/__polyfill/08xxx/module_8023.js
github-actions da5b5e5efe chore: update source for alpha 346.6
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4821.js (118.4 MB)
2026-09-12 13:45:10 +00:00

21 lines
596 B
JavaScript

// Module ID: 8023
// Function ID: 8024
// Dependencies: [19]
// Exports: useAnimatedHeaderHeight
// Module 8023
import noop from "module_19" /* 19 */;
let context = noop.createContext(undefined);
export const AnimatedHeaderHeightContext = context;
export const useAnimatedHeaderHeight = function useAnimatedHeaderHeight() {
context = noop.useContext(context);
if (undefined === context) {
const _Error = Error;
const error = new Error("Couldn't find the header height. Are you inside a screen in a native stack navigator?");
throw error;
} else {
return context;
}
};