UNPKG
nbit-arco
Version:
latest (2.39.3-bate.7)
2.39.3-bate.7
2.39.3-bate.6
2.39.3-bate.5
2.39.3-bate.4
2.39.3-bate.3
2.39.3-bate.2
2.39.0
2.39.0-bate.2
2.39.0-bate.1
Arco Design React UI Library.
arco.design
nbit-arco
/
es
/
_util
/
hooks
/
useComputedState.d.ts
5 lines
(4 loc)
•
228 B
TypeScript
View Raw
1
2
3
4
5
import
{
ComponentState
,
PropsWithoutRef
}
from
'react'
;
declare
type
Dependency
<T> =
PropsWithoutRef
<T> |
ComponentState
;
export
default
function
useComputedState<T>(
computed
:
() =>
any
,
deps
:
Dependency
<T>[]):
any
;
export
{};