persona-community-5/.pnpm-store/v3/files/0d/79f0d731e5ce51900a6fa7aba6ed6d128a78e0f348143b9363242ab8e1c293a94f6741baed6d57aa4065d36de76f16451a320ea218f5f887531000878b5864
rdev-worker a1d0d1bf1c
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
build: /implement-feature community-ui --requirements 'Build the React commu...
2026-02-24 08:22:30 +00:00

24 lines
516 B
Plaintext

/**
* creates a style on demand
*/
declare type StyleSingletonHook = (
/**
* styles to create
*/
styles: string,
/**
* indication that styles should be reapplied on change
*/
isDynamic?: boolean) => void;
/**
* creates a hook to control style singleton
* @see {@link styleSingleton} for a safer component version
* @example
* ```tsx
* const useStyle = styleHookSingleton();
* ///
* useStyle('body { overflow: hidden}');
*/
export declare const styleHookSingleton: () => StyleSingletonHook;
export {};