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