decord/source/14109_useReanimatedHeaderHeight.js
2026-08-26 06:04:24 +00:00

21 lines
669 B
JavaScript

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