UNPKG
@gravity-ui/data-source
Version:
alpha (0.3.0-alpha.5)
latest (0.8.2)
0.8.2
0.8.1
0.8.0
0.7.0
0.6.1
0.6.0
0.5.1
0.5.0
0.4.0
0.3.0
0.3.0-alpha.5
0.3.0-alpha.4
0.3.0-alpha.3
0.3.0-alpha.2
0.3.0-alpha.1
0.3.0-alpha.0
0.2.1
0.2.0
0.1.2
0.1.1
0.1.0
A wrapper around data fetching
github.com/gravity-ui/data-source
gravity-ui/data-source
@gravity-ui/data-source
/
build
/
esm
/
react
/
withDataManager.d.ts
7 lines
(6 loc)
•
259 B
TypeScript
View Raw
1
2
3
4
5
6
7
import
React
from
'react'
;
import
type
{
DataManager
}
from
'../core'
;
export
interface
WithDataManagerProps
{
dataManager
:
DataManager
; }
export
declare
const
withDataManager
: <T>
(
Component
:
React
.
ComponentType
<T &
WithDataManagerProps
>
) =>
React
.
FC
<T>;