Home > @fluentui/react-teams > IThemeProviderProps
The Provider’s props configure how these components should be rendered: the color palette to use as themeName
, the language as lang
, and any languages to make available through translations
. Its children should be a single component from this library. flexHeight
tells the provider and its children to expect to have a flexible height instead of filling the viewport.
Signature:
export interface IThemeProviderProps
Property | Type | Description |
---|---|---|
children | ReactNode | |
flexHeight? | boolean | (Optional) |
lang | TLocale | |
themeName | TeamsTheme | IThemeTeamsClient | |
translations? | { [locale: string]: TTranslations; } | (Optional) |