decord/source/13617_useReanimatedHeaderHeight.js
2026-07-30 10:14:41 +00:00

20 lines
626 B
JavaScript

// Module ID: 13617
// Function ID: 13618
// Name: useReanimatedHeaderHeight
// Dependencies: [19, 13613]
// Exports: default
// Module 13617 (useReanimatedHeaderHeight)
import noop from "noop";
export default function useReanimatedHeaderHeight() {
const context = React.useContext(importDefault(13613));
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;
}
};