Files
starface-outlook-sync-addin/node_modules/@fluentui/foundation-legacy/lib/ThemeProvider.d.ts
T
Stefan Hacker 37ad745546 first commit
2026-04-03 09:38:48 +02:00

16 lines
716 B
TypeScript

import * as React from 'react';
import { ISchemeNames, ITheme } from '@fluentui/style-utilities';
export interface IThemeProviderProps {
scheme?: ISchemeNames;
theme?: ITheme;
}
/**
* Theme provider is a simplified version of Customizer that activates the appropriate theme data
* for a given scheme name.
*
* @param providers - Injected providers for accessing theme data and providing it via a Customizer component.
* @deprecated This is an old ThemeProvider implementation. New code should use the ThemeProvider exported from
* `@fluentui/react` (or `@fluentui/react/lib/Theme`) instead.
*/
export declare const ThemeProvider: React.FunctionComponent<React.PropsWithChildren<IThemeProviderProps>>;