react-native - wix react-native-navigation 版本 2 - Fab 图标未显示在屏幕上
问题描述
Fab 图标不显示在屏幕上。我已经根据 V2 文档添加了源代码,如下所示。
static get options() {
return {
topBar: {
title: {
text: "Collapse",
color: "black",
fontSize: 16
},
drawBehind: true,
visible: true,
testID: "addLiveSale"
},
fab: {
id: "addLiveSale",
backgroundColor: "blue",
clickColor: "blue",
rippleColor: "aquamarine",
hideOnScroll: true
}
};
}