decord/source/8576_context.js
2026-08-08 06:10:11 +00:00

23 lines
668 B
JavaScript

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