Files
simply_cpq/website/node_modules/@base-ui/utils/useScrollLock.d.mts
T
2026-08-07 21:39:30 +02:00

7 lines
296 B
TypeScript

/**
* Locks the scroll of the document when enabled.
*
* @param enabled - Whether to enable the scroll lock.
* @param referenceElement - Element to use as a reference for lock calculations.
*/
export declare function useScrollLock(enabled?: boolean, referenceElement?: Element | null): void;