decord/source/14001_useReanimatedHeaderHeight.js
2026-08-24 06:08:38 +00:00

21 lines
669 B
JavaScript

// Module ID: 14001
// Function ID: 14002
// Name: useReanimatedHeaderHeight
// Dependencies: [19, 13997]
// Exports: default
// Module 14001 (useReanimatedHeaderHeight)
import noopDefault from "noop" /* 13997 */;
import closure_2 from "noop" /* 19 */;
export default function useReanimatedHeaderHeight() {
const context = React.useContext(noopDefault);
if (undefined === context) {
const _Error = Error;
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;
}
};