10 lines
374 B
TypeScript
10 lines
374 B
TypeScript
import type { ShadowConfig } from '@fluentui/merge-styles';
|
|
export type ShadowConfigHook = (stylesheetKey: string, inShadow: boolean, win?: Window) => ShadowConfig;
|
|
/**
|
|
* Get a shadow config.
|
|
* @param stylesheetKey - Globally unique key
|
|
* @param win - Reference to the `window` global.
|
|
* @returns ShadowConfig
|
|
*/
|
|
export declare const useShadowConfig: ShadowConfigHook;
|