React Router API Reference
Preparing search index...
react-router
UNSAFE_withComponentProps
Function UNSAFE_withComponentProps
Internal
UNSAFE_withComponentProps
(
Component
:
RouteComponentType
,
)
:
()
=>
ReactElement
<
{
actionData
:
any
;
loaderData
:
any
;
matches
:
UIMatch
<
unknown
,
unknown
>
[]
;
params
:
Readonly
<
Params
<
string
>
>
;
}
,
string
|
JSXElementConstructor
<
any
>
,
>
Parameters
Component
:
RouteComponentType
Returns
()
=>
ReactElement
<
{
actionData
:
any
;
loaderData
:
any
;
matches
:
UIMatch
<
unknown
,
unknown
>
[]
;
params
:
Readonly
<
Params
<
string
>
>
;
}
,
string
|
JSXElementConstructor
<
any
>
,
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
React Router API Reference
Loading...