You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1 line
1.3 KiB

{"ast":null,"code":"import * as React from 'react';\nimport BottomTabBarHeightContext from \"./BottomTabBarHeightContext\";\nexport default function useBottomTabBarHeight() {\n var height = React.useContext(BottomTabBarHeightContext);\n if (height === undefined) {\n throw new Error(\"Couldn't find the bottom tab bar height. Are you inside a screen in Bottom Tab Navigator?\");\n }\n return height;\n}","map":{"version":3,"sources":["useBottomTabBarHeight.tsx"],"names":["React","BottomTabBarHeightContext","useBottomTabBarHeight","height","useContext","undefined","Error"],"mappings":"AAAA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAE9B,OAAOC,yBAAyB;AAEhC,eAAe,SAASC,qBAAqB,GAAG;EAC9C,IAAMC,MAAM,GAAGH,KAAK,CAACI,UAAU,CAACH,yBAAyB,CAAC;EAE1D,IAAIE,MAAM,KAAKE,SAAS,EAAE;IACxB,MAAM,IAAIC,KAAK,CACb,2FAA2F,CAC5F;EACH;EAEA,OAAOH,MAAM;AACf","sourceRoot":"../../src","sourcesContent":["import * as React from 'react';\nimport BottomTabBarHeightContext from './BottomTabBarHeightContext';\nexport default function useBottomTabBarHeight() {\n const height = React.useContext(BottomTabBarHeightContext);\n if (height === undefined) {\n throw new Error(\"Couldn't find the bottom tab bar height. Are you inside a screen in Bottom Tab Navigator?\");\n }\n return height;\n}\n//# sourceMappingURL=useBottomTabBarHeight.js.map"]},"metadata":{},"sourceType":"module"}