decord/source/8621_context.js
2026-08-12 06:57:52 +00:00

23 lines
668 B
JavaScript

// Module ID: 8621
// Function ID: 8622
// Name: context
// Dependencies: [19]
// Exports: useAnimatedHeaderHeight
// Module 8621 (context)
import importAllResult from "noop";
let c0 = importAllResult;
let context = importAllResult.createContext(undefined);
export const AnimatedHeaderHeightContext = context;
export const useAnimatedHeaderHeight = function useAnimatedHeaderHeight() {
context = importAllResult.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;
}
};