我想学习如何删除下图中的背景颜色。我已经尝试了文档中的所有道具,但没有任何效果。
我在 Material Bottom Tabs Navigator v6.x 中遇到了同样的问题,我的解决方案是添加这个:
import { useTheme } from 'react-native-paper';
在我的底部选项卡组件中:
const theme = useTheme();
theme.colors.secondaryContainer = "transparent"