UNPKG
react-storm
Version:
latest (0.5.2)
0.5.2
0.5.1
0.5.0
0.1.1
0.1.0
A small storm in the React Store world
github.com/lojell/react-storm
lojell/react-storm
react-storm
/
dist
/
connect.d.ts
4 lines
(3 loc)
•
222 B
TypeScript
View Raw
1
2
3
4
import
React
from
"react"
;
import
{
ModelCreator
,
StormConnection
}
from
"./types"
;
export
declare
function
connect<
TModel
>(
TCreator
:
ModelCreator
<
TModel
>,
rootNode
?:
React
.
ComponentType
<
any
>):
StormConnection
<
TModel
>;