UNPKG

repoweaver

Version:

A GitHub App that skillfully weaves multiple templates together to create and update repositories with intelligent merge strategies

1 lines 1.7 kB
{"ast":null,"code":"\"use strict\";\n\nimport * as React from 'react';\nexport var AnimatedHeaderHeightContext = React.createContext(undefined);\nexport function useAnimatedHeaderHeight() {\n var animatedValue = React.useContext(AnimatedHeaderHeightContext);\n if (animatedValue === undefined) {\n throw new Error(\"Couldn't find the header height. Are you inside a screen in a native stack navigator?\");\n }\n return animatedValue;\n}","map":{"version":3,"names":["React","AnimatedHeaderHeightContext","createContext","undefined","useAnimatedHeaderHeight","animatedValue","useContext","Error"],"sources":["/Users/pmouli/Documents/GitHub.nosync/boots-strapper/mobile/node_modules/@react-navigation/native-stack/src/utils/useAnimatedHeaderHeight.tsx"],"sourcesContent":["import * as React from 'react';\nimport type { Animated } from 'react-native';\n\nexport const AnimatedHeaderHeightContext = React.createContext<\n Animated.AnimatedInterpolation<number> | undefined\n>(undefined);\n\nexport function useAnimatedHeaderHeight() {\n const animatedValue = React.useContext(AnimatedHeaderHeightContext);\n\n if (animatedValue === undefined) {\n throw new Error(\n \"Couldn't find the header height. Are you inside a screen in a native stack navigator?\"\n );\n }\n\n return animatedValue;\n}\n"],"mappings":";;AAAA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAG9B,OAAO,IAAMC,2BAA2B,GAAGD,KAAK,CAACE,aAAa,CAE5DC,SAAS,CAAC;AAEZ,OAAO,SAASC,uBAAuBA,CAAA,EAAG;EACxC,IAAMC,aAAa,GAAGL,KAAK,CAACM,UAAU,CAACL,2BAA2B,CAAC;EAEnE,IAAII,aAAa,KAAKF,SAAS,EAAE;IAC/B,MAAM,IAAII,KAAK,CACb,uFACF,CAAC;EACH;EAEA,OAAOF,aAAa;AACtB","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}