Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 1.34 KB

react-teams.ithemeproviderprops.md

File metadata and controls

24 lines (16 loc) · 1.34 KB

Home > @fluentui/react-teams > IThemeProviderProps

IThemeProviderProps interface

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 

Properties

Property Type Description
children ReactNode
flexHeight? boolean (Optional)
lang TLocale
themeName TeamsTheme | IThemeTeamsClient
translations? { [locale: string]: TTranslations; } (Optional)