UNPKG
reactive-blocs
Version:
latest (0.1.9)
0.1.9
0.1.8
0.1.7
0.1.6
0.1.5
0.1.4
0.1.3
0.1.2
0.1.1
0.1.0
0.0.72
0.0.71
0.0.70
0.0.65
0.0.62
0.0.61
0.0.60
0.0.56
0.0.55
0.0.50
0.0.45
0.0.40
0.0.35
0.0.30
0.0.25
0.0.21
0.0.20
0.0.11
0.0.10
0.0.9
0.0.8
0.0.7
0.0.6
0.0.4
0.0.3
0.0.2
0.0.1
Reactive Blocs
github.com/nairinarinyan/reactive-blocs
nairinarinyan/reactive-blocs
reactive-blocs
/
hooks.d.ts
4 lines
(3 loc)
•
216 B
TypeScript
View Raw
1
2
3
4
import
{
BehaviorSubject
,
Observable
}
from
'rxjs'
;
import
{
ReactiveValue
}
from
'./primitives'
;
export
declare
function
useValue<T>(
field
:
Observable
<T> |
ReactiveValue
<T> |
BehaviorSubject
<T>,
label
?:
string
): T;