Skip to content
Discussion options

You must be logged in to vote

FluentUI 9 (and rc4 of 3.x) requires a FluentProvider wrapper even with the CDN bundle. In the UMD bundle it's exposed as FluentUI.FluentProvider and themes as FluentUI.webLightTheme / webDarkTheme. Wrap your app's root with <FluentProvider theme={webLightTheme}> and components will pick up their default styles. setTheme doesn't exist in v9 — it's all context-based via the provider.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by tudorpopams
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants