decord/source/8499_context.js
2026-08-06 08:05:19 +00:00

23 lines
668 B
JavaScript

// Module ID: 8499
// Function ID: 8500
// Name: context
// Dependencies: [19]
// Exports: useAnimatedHeaderHeight
// Module 8499 (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;
}
};