UNPKG
antd-v5
Version:
latest (5.14.1)
5.14.1
An enterprise-class UI design language and React components implementation
ant.design
antd-v5
/
lib
/
typography
/
hooks
/
useUpdatedEffect.d.ts
5 lines
(4 loc)
•
227 B
TypeScript
View Raw
1
2
3
4
5
import
*
as
React
from
'react'
;
/** Similar with `useEffect` but only trigger after mounted */
declare
const
useUpdatedEffect
:
(
callback
: () =>
void
,
conditions
?:
React
.
DependencyList
) =>
void
;
export
default
useUpdatedEffect;