如何删除 BottomTabNavigator 中的底部文本?

How to remove bottom text in BottomTabNavigator?

如何删除底部标签导航器中图标下方的文本?

https://snack.expo.dev/@therealsneh/justexpire---real

labeled: false添加到MaterialBottomTabNavigatorConfig如下:

...
{
  initialRouteName: 'Home',
  activeColor: 'orange',
  inactiveColor: '#aaa',
  barStyle: {
    backgroundColor: '#eee',
    borderTopLeftRadius: 20,
    borderTopRightRadius: 20,
    overflow: 'hidden',
    height: 70,
  },
  labeled: false
}
...

或者,看这里:

https://snack.expo.dev/Zm1sZMkiL