Preparing search index...
The search index is not available
router-segments
router-segments
Router
Interface Router<Locales, RouteRef>
interface
Router
<
Locales
,
RouteRef
>
{
find
:
(
(
path
:
string
,
locale
?:
Locales
)
=>
null
|
RouteMatch
<
Locales
,
RouteRef
>
)
;
get
:
(
(
key
:
string
)
=>
EndRoute
<
Locales
,
RouteRef
>
)
;
toLocalizedPath
:
(
(
locale
:
Locales
,
key
:
string
,
args
?:
any
)
=>
string
)
;
toPath
:
(
(
key
:
string
,
args
?:
any
)
=>
string
)
;
}
Type Parameters
Locales
extends
LocaleType
|
never
RouteRef
Index
Properties
find
get
to
Localized
Path
to
Path
Properties
find
find
:
(
(
path
:
string
,
locale
?:
Locales
)
=>
null
|
RouteMatch
<
Locales
,
RouteRef
>
)
get
get
:
(
(
key
:
string
)
=>
EndRoute
<
Locales
,
RouteRef
>
)
to
Localized
Path
to
Localized
Path
:
(
(
locale
:
Locales
,
key
:
string
,
args
?:
any
)
=>
string
)
to
Path
to
Path
:
(
(
key
:
string
,
args
?:
any
)
=>
string
)
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
find
get
to
Localized
Path
to
Path
router-segments
Loading...