Pacote
Preparing search index...
@pacote/react-with-props
withProps
Function withProps
withProps
<
OuterProps
extends
Record
<
string
,
unknown
>
,
InjectedProps
extends
Record
<
string
,
unknown
>
,
ComponentProps
extends
Record
<
string
,
unknown
>
,
Component
extends
InnerComponent
<
ComponentProps
>
,
EnhancedProps
=
Enhanced
<
InjectedProps
,
InnerProps
<
Component
>
>
,
>
(
injected
:
InjectedProps
|
Injector
<
OuterProps
,
InjectedProps
>
,
BaseComponent
:
Component
,
)
:
ComponentType
<
OuterProps
&
EnhancedProps
>
Type Parameters
OuterProps
extends
Record
<
string
,
unknown
>
InjectedProps
extends
Record
<
string
,
unknown
>
ComponentProps
extends
Record
<
string
,
unknown
>
Component
extends
InnerComponent
<
ComponentProps
>
EnhancedProps
=
Enhanced
<
InjectedProps
,
InnerProps
<
Component
>
>
Parameters
injected
:
InjectedProps
|
Injector
<
OuterProps
,
InjectedProps
>
BaseComponent
:
Component
Returns
ComponentType
<
OuterProps
&
EnhancedProps
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Pacote
Loading...