1 | import { useEffect } from 'react';
|
2 | /**
|
3 | * Is `useLayoutEffect` in a DOM or React Native environment, otherwise resolves to useEffect
|
4 | * Only useful to avoid the console warning.
|
5 | *
|
6 | * PREFER `useEffect` UNLESS YOU KNOW WHAT YOU ARE DOING.
|
7 | *
|
8 | * @category effects
|
9 | */
|
10 | declare const _default: typeof useEffect;
|
11 | export default _default;
|