Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用@fluentui/react-northstar carousal 组件链接。它似乎解决了我的问题,但是在将其加载到 spfx 时,它没有采用任何默认的 css 等。我的 webpart 只是以垂直方式显示图像,而不是显示正确的轮播。请在这里找到我的代码
我也尝试过反应材料轮播,但为此我也面临同样的问题。
我创建了基于 spfx/react 的“hello word”webpart 并插入了提到的组件,它在这里运行良好:
这是我的测试演示:
BR
//////////// - - 更新 - -////////////////////
基于文档中的示例,我添加了如下缩略图功能:
我认为它运作良好,就像示例显示的那样。你可以试一试吗?