Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4759.js (118.4 MB)
20 lines
621 B
JavaScript
20 lines
621 B
JavaScript
// Module ID: 14596
|
|
// Function ID: 14597
|
|
// Dependencies: [19, 14592]
|
|
// Exports: default
|
|
|
|
// Module 14596
|
|
import _modDef14592 from "module_14592" /* 14592 */;
|
|
import noop from "module_19" /* 19 */;
|
|
|
|
|
|
export default function useReanimatedHeaderHeight() {
|
|
const context = noop.useContext(_modDef14592);
|
|
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;
|
|
}
|
|
};
|