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

14 lines
624 B
TypeScript

import { MergeStylesShadowRootContextValue } from '../contexts/MergeStylesShadowRootContext';
export type HasMergeStylesShadowRootContextHook = () => boolean;
export type MergeStylesShadowRootContextHook = () => MergeStylesShadowRootContextValue | undefined;
/**
* Test if a context is available.
* @returns true if there is a context.
*/
export declare const useHasMergeStylesShadowRootContext: HasMergeStylesShadowRootContextHook;
/**
* Get a reference to the shadow root context.
* @returns The context for the shadow root.
*/
export declare const useMergeStylesShadowRootContext: MergeStylesShadowRootContextHook;