React Router class tools
Preparing search index...
RouteComponentProps
Interface RouteComponentProps<Params, Context, Query>
interface
RouteComponentProps
<
Params
extends
Partial
<
Record
<
keyof
Params
,
string
>
>
=
{}
,
Context
extends
StaticContext
=
StaticContext
,
Query
extends
Record
<
string
,
any
>
=
{}
,
>
{
location
?:
Location
;
match
?:
match
<
Params
>
;
query
?:
Query
;
staticContext
?:
Context
;
}
Type Parameters
Params
extends
Partial
<
Record
<
keyof
Params
,
string
>
>
=
{}
Context
extends
StaticContext
=
StaticContext
Query
extends
Record
<
string
,
any
>
=
{}
Index
Properties
location?
match?
query?
static
Context?
Properties
Optional
location
location
?:
Location
Optional
match
match
?:
match
<
Params
>
Optional
query
query
?:
Query
Optional
static
Context
staticContext
?:
Context
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Properties
location
match
query
static
Context
React Router class tools
Loading...