UNPKG
@adminium/ui
Version:
latest (2.47.0)
2.47.0
Arco Design React UI Library.
arco.adminium.xyz
adminium/arco-design
@adminium/ui
/
lib
/
_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
{};