1 line
832 B
Plaintext
1 line
832 B
Plaintext
|
{"version":3,"sources":["useBottomTabBarHeight.tsx"],"names":["useFloatingBottomTabBarHeight","height","React","useContext","BottomTabBarHeightContext","undefined","Error"],"mappings":";;;;;;;AAAA;;AACA;;;;;;;;AAEe,SAASA,6BAAT,GAAyC;AACtD,QAAMC,MAAM,GAAGC,KAAK,CAACC,UAAN,CAAiBC,kCAAjB,CAAf;;AAEA,MAAIH,MAAM,KAAKI,SAAf,EAA0B;AACxB,UAAM,IAAIC,KAAJ,CACJ,2FADI,CAAN;AAGD;;AAED,SAAOL,MAAP;AACD","sourcesContent":["import * as React from 'react';\nimport BottomTabBarHeightContext from './BottomTabBarHeightContext';\n\nexport default function useFloatingBottomTabBarHeight() {\n const height = React.useContext(BottomTabBarHeightContext);\n\n if (height === undefined) {\n throw new Error(\n \"Couldn't find the bottom tab bar height. Are you inside a screen in Bottom Tab Navigator?\"\n );\n }\n\n return height;\n}\n"]}
|