UNPKG
@bloc-js/react-bloc
Version:
latest (3.3.8)
3.3.8
3.3.7
3.3.6
3.3.5
3.3.4
3.3.3
3.3.2
3.3.1
3.3.0
3.2.3
3.2.2
3.2.1
3.2.0
3.1.1
3.1.0
3.0.0
2.3.0
2.2.0
2.1.0
2.0.5
2.0.4
2.0.3
2.0.2
2.0.1
2.0.0
1.3.0
1.2.22
1.2.21
1.2.20
1.2.19
1.2.18
1.2.17
1.2.16
1.2.15
1.2.14
1.2.13
1.2.12
1.2.11
1.2.10
1.2.9
1.2.8
1.2.7
1.2.6
1.2.5
1.2.4
1.2.3
1.2.2
1.2.1
1.2.0
1.1.5
1.1.4
1.1.3
1.1.2
1.1.0
1.0.1
React components for implementing the BLoC pattern.
github.com/tim-smart/bloc-js
tim-smart/bloc-js
@bloc-js/react-bloc
/
lib-esnext
/
bloc-builder.d.ts
8 lines
(7 loc)
•
253 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
/// <reference types="react" />
import
{
Bloc
}
from
"@bloc-js/bloc"
;
export
interface
IBlocBuilderProps
<S> {
bloc
:
Bloc
<S>;
builder
:
(
state
: S
) =>
JSX
.
Element
; }
export
declare
function
BlocBuilder
<S>(
props
:
IBlocBuilderProps
<S>):
JSX
.
Element
;