Search
Preparing search index...
@universe-ee/sdk
Universe
Vendor
MobxReact
inject
Function inject
inject
(
...
stores
:
string
[]
,
)
:
<
T
extends
IReactComponent
<
any
>
>
(
target
:
T
,
)
=>
T
&
(
T
extends
IReactComponent
<
P
>
?
IWrappedComponent
<
P
>
:
never
)
Parameters
...
stores
:
string
[]
Returns
<
T
extends
IReactComponent
<
any
>
>
(
target
:
T
,
)
=>
T
&
(
T
extends
IReactComponent
<
P
>
?
IWrappedComponent
<
P
>
:
never
)
inject
<
S
,
P
,
I
,
C
>
(
fn
:
IStoresToProps
<
S
,
P
,
I
,
C
>
,
)
:
<
T
extends
IReactComponent
>
(
target
:
T
)
=>
T
&
IWrappedComponent
<
P
>
Type Parameters
S
P
I
C
Parameters
fn
:
IStoresToProps
<
S
,
P
,
I
,
C
>
Returns
<
T
extends
IReactComponent
>
(
target
:
T
)
=>
T
&
IWrappedComponent
<
P
>
Юниверс MDM SDK UI
Loading...