16 lines
691 B
TypeScript
16 lines
691 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<IThemeProviderProps>;
|