@momo-kits/foundation 0.92.1-rc.5 → 0.92.1-rc.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -125,7 +125,7 @@ export const getTabBarHeight = ({
125
125
  export default function BottomTabBar({
126
126
  state,
127
127
  navigation,
128
- descriptors,
128
+ descriptors = {},
129
129
  activeBackgroundColor,
130
130
  activeTintColor,
131
131
  adaptive,
@@ -455,9 +455,9 @@ export default function BottomTabBar({
455
455
  />
456
456
  </Animated.View>
457
457
 
458
- {renderTabItem(leftArr)}
458
+ {isFloating && renderTabItem(leftArr)}
459
459
  {isFloating && renderCenterComponent()}
460
- {renderTabItem(rightArr)}
460
+ {isFloating && renderTabItem(rightArr)}
461
461
  </View>
462
462
  </Animated.View>
463
463
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@momo-kits/foundation",
3
- "version": "0.92.1-rc.5",
3
+ "version": "0.92.1-rc.6",
4
4
  "description": "React Native Component Kits",
5
5
  "main": "index.ts",
6
6
  "scripts": {