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