JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
994 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I am using ThemeProvider in my app by importing ThemeProvider from '@fluentui/react-theme-provider';
I want to be able to set the app theme to be 'Teams' Theme and the Scheme to be 'strong', like you can see in the documentation here:
https://fabricweb.z5.web.core.windows.net/oufr/8.0.0-beta.2/#/examples/themeprovider#Variants
In those examples you can select a Theme and a Scheme. But I don't see in the code for those how the Theme and Scheme are being set.
Can the documentation be updated to show how to set the Theme and the Scheme for the ThemeProvider?