Files
ai-course/node_modules/@dnd-kit/utilities/dist/hooks/useIsomorphicLayoutEffect.d.ts

7 lines
317 B
TypeScript
Raw Normal View History

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;