FluentThemeProviderProps interface

Props for FluentThemeProvider.

Properties

children

Children to be themed.

fluentTheme

Theme for components. Defaults to a light theme if not provided.

rootStyle

Optional style to change the root style of the ThemeProvider

rtl

Whether components are displayed right-to-left

Property Details

children

Children to be themed.

children: ReactNode

Property Value

ReactNode

fluentTheme

Theme for components. Defaults to a light theme if not provided.

fluentTheme?: PartialTheme | Theme

Property Value

PartialTheme | Theme

rootStyle

Optional style to change the root style of the ThemeProvider

rootStyle?: CSSProperties

Property Value

CSSProperties

rtl

Whether components are displayed right-to-left

rtl?: boolean

Property Value

boolean