GT2/Ejectable/node_modules/@react-navigation/bottom-tabs/lib/module/views/BottomTabView.js.map

1 line
10 KiB
Plaintext
Raw Normal View History

2021-08-16 00:14:59 +00:00
{"version":3,"sources":["BottomTabView.tsx"],"names":["React","View","StyleSheet","Dimensions","NavigationHelpersContext","useTheme","ScreenContainer","SafeAreaProviderCompat","initialSafeAreaInsets","ResourceSavingScene","BottomTabBar","getTabBarHeight","BottomTabBarHeightCallbackContext","BottomTabBarHeightContext","SceneContent","isFocused","children","style","colors","styles","content","backgroundColor","background","BottomTabView","Component","getDerivedStateFromProps","nextProps","prevState","focusedRouteKey","state","routes","index","key","loaded","includes","constructor","props","tabBar","tabBarOptions","navigation","descriptors","height","setState","tabBarHeight","dimensions","get","layout","width","insets","adaptive","labelPosition","tabStyle","render","lazy","detachInactiveScreens","sceneContainerStyle","container","pages","map","route","descriptor","unmountOnBlur","options","absoluteFill","handleTabBarHeightChange","renderTabBar","create","flex","overflow"],"mappings":";;AAAA,OAAO,KAAKA,KAAZ,MAAuB,OAAvB;AACA,SACEC,IADF,EAEEC,UAFF,EAGEC,UAHF,QAMO,cANP;AAQA,SACEC,wBADF,EAIEC,QAJF,QAKO,0BALP;AAMA,SAASC,eAAT,QAAgC,sBAAhC;AAEA,OAAOC,sBAAP,IACEC,qBADF,QAEO,0BAFP;AAGA,OAAOC,mBAAP,MAAgC,uBAAhC;AACA,OAAOC,YAAP,IAAuBC,eAAvB,QAA8C,gBAA9C;AACA,OAAOC,iCAAP,MAA8C,4CAA9C;AACA,OAAOC,yBAAP,MAAsC,oCAAtC;;AAmBA,SAASC,YAAT,CAAsB;AACpBC,EAAAA,SADoB;AAEpBC,EAAAA,QAFoB;AAGpBC,EAAAA;AAHoB,CAAtB,EAQG;AACD,QAAM;AAAEC,IAAAA;AAAF,MAAab,QAAQ,EAA3B;AAEA,sBACE,oBAAC,IAAD;AACE,IAAA,2BAA2B,EAAE,CAACU,SADhC;AAEE,IAAA,yBAAyB,EAAEA,SAAS,GAAG,MA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