decord/source/13369_useReanimatedHeaderHeight.js
2026-07-21 22:01:30 +00:00

19 lines
648 B
JavaScript

// Module ID: 13369
// Function ID: 101646
// Name: useReanimatedHeaderHeight
// Dependencies: []
// Exports: default
// Module 13369 (useReanimatedHeaderHeight)
let closure_2 = importAll(dependencyMap[0]);
export default function useReanimatedHeaderHeight() {
const context = React.useContext(importDefault(dependencyMap[1]));
if (undefined === context) {
const _Error = Error;
const error = new Error("Couldn't find the header height using Reanimated. Are you inside a screen in a navigator with a header and your NavigationContainer is wrapped in ReanimatedScreenProvider?");
throw error;
} else {
return context;
}
};