decord/source/14036_useReanimatedHeaderHeight.js
2026-08-25 06:04:03 +00:00

21 lines
669 B
JavaScript

// Module ID: 14036
// Function ID: 14037
// Name: useReanimatedHeaderHeight
// Dependencies: [19, 14032]
// Exports: default
// Module 14036 (useReanimatedHeaderHeight)
import noopDefault from "noop" /* 14032 */;
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;
}
};