decord/source/8625_context.js
2026-08-13 07:00:46 +00:00

23 lines
668 B
JavaScript

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