当我在选项中使用 progressBar 时,它不会出现在灯箱中。 simple-react-lightbox 包进度条未显示在灯箱中。
const options = {
buttons: {
backgroundColor: "rgba(0,0.9)",iconColor: "#C9C5BA",iconPadding: "10px",showDownloadButton: false,showThumbnailsButton: false,showAutoplayButton: false,size: '50px'
},caption: {
captionColor: "#e8eddf",captionFontSize: "18px",},settings: {
overlayColor: "rgba(0,0.9)"
},thumbnails: {
thumbnailsAlignment: "center",progressBar: {
backgroundColor: '#f2f2f2',fillColor: '#000000',height: '3px',showProgressBar: true
}
};