semblance/node_modules/@dnd-kit/utilities/dist/hooks/useIsomorphicLayoutEffect.d.ts
2025-12-19 19:26:16 +00:00

6 lines
317 B
TypeScript
Executable file

import { useLayoutEffect } from 'react';
/**
* A hook that resolves to useEffect on the server and useLayoutEffect on the client
* @param callback {function} Callback function that is invoked when the dependencies of the hook change
*/
export declare const useIsomorphicLayoutEffect: typeof useLayoutEffect;