first commit

This commit is contained in:
Stefan Hacker
2026-04-03 09:38:48 +02:00
commit 37ad745546
47450 changed files with 3120798 additions and 0 deletions
@@ -0,0 +1,17 @@
import * as React from 'react';
import { MergeStylesShadowRootContext, } from '../contexts/MergeStylesShadowRootContext';
/**
* Test if a context is available.
* @returns true if there is a context.
*/
export var useHasMergeStylesShadowRootContext = function () {
return !!useMergeStylesShadowRootContext();
};
/**
* Get a reference to the shadow root context.
* @returns The context for the shadow root.
*/
export var useMergeStylesShadowRootContext = function () {
return React.useContext(MergeStylesShadowRootContext);
};
//# sourceMappingURL=useMergeStylesShadowRoot.js.map