This commit is contained in:
6
node_modules/@dnd-kit/utilities/dist/hooks/useIsomorphicLayoutEffect.d.ts
generated
vendored
Normal file
6
node_modules/@dnd-kit/utilities/dist/hooks/useIsomorphicLayoutEffect.d.ts
generated
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
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;
|
||||
Reference in New Issue
Block a user