10 lines
310 B
TypeScript
10 lines
310 B
TypeScript
import { useEffect } from 'react';
|
|
declare const _default: typeof useEffect;
|
|
/**
|
|
* Is `useLayoutEffect` in a DOM or React Native environment, otherwise resolves to useEffect
|
|
* Only useful to avoid the console warning.
|
|
*
|
|
* PREFER `useEffect` UNLESS YOU KNOW WHAT YOU ARE DOING.
|
|
*/
|
|
export default _default;
|