@micro-router
Preparing search index...
@micro-router/react
usePathMatch
Function usePathMatch
usePathMatch
<
P
extends
Path
<
string
,
any
>
>
(
path
:
P
,
opts
?:
PathMatchOpts
,
)
:
[
true
,
DataOfPath
<
P
>
]
|
[
false
,
null
]
Type Parameters
P
extends
Path
<
string
,
any
>
Parameters
path
:
P
Optional
opts
:
PathMatchOpts
Returns
[
true
,
DataOfPath
<
P
>
]
|
[
false
,
null
]
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@micro-router
Loading...