当前行为
预期行为
如何复制
<>
<Header /> //App name custom component
<Tabs.Navigator
...
tabBarOptions={{
....
style: {
// elevation: 0,
},
}}>
答案 0 :(得分:0)
尝试一下:
bootES( my_data, data.col="Score", group.col="Group",
contrast = c("X","Y"), effect.type = "r" )
<>
<Header /> //App name custom component
<Tabs.Navigator
...
tabBarOptions={{
....
style: {
elevation: 0,
shadowColor: "#000000",
shadowOffset: { width: 0, height: 10 }, // change this for more shadow
shadowOpacity: 0.4,
shadowRadius: 6
},
}}>
阴影仅位于View的底部。
shadowOffset: { width: 0, height: 10 }
阴影仅位于“视图”顶部。
shadowOffset: { width: 0, height: -10 }
阴影仅位于“视图”的右侧。
shadowOffset: { width: 10, height: 0 }
阴影仅位于View的左侧。
找到了这个示例here。