decord/source/8625_context.js

24 lines
668 B
JavaScript
Raw Normal View History

2026-08-13 07:00:46 +00:00
// Module ID: 8625
// Function ID: 8626
2026-08-06 08:05:19 +00:00
// Name: context
// Dependencies: [19]
// Exports: useAnimatedHeaderHeight
2026-08-13 07:00:46 +00:00
// Module 8625 (context)
2026-08-06 08:05:19 +00:00
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;
}
};