Fluent provider Preview
The Fluent provider defines the styles that are used in your app. Fluent provider can provide styling for the entire experience or can be used to override and redefine particular sections.
Loading...
Properties
applyStylesToPortals
Passes styles applied to a component down to portals if enabled.
boolean
Default:
true
as
“div”
Default:
nonecustomStyleHooks_unstable
Sets the hooks for custom styling components.
Partial<CustomStyleHooksContextValue_unstable>
Default:
nonedir
Sets the direction of text & generated styles.
“rtl”
“ltr”
Default:
noneoverrides_unstable
OverridesContextValue_unstable
Default:
nonetargetDocument
Provides the document, can be undefined during SSR render.
Document
Default:
nonetheme
Sets the theme used in a scope.
Partial<Theme>
Default:
none