Preparing search index...
The search index is not available
@use-pico
@use-pico
@use-pico/client
useLocaleRouter
Function useLocaleRouter
Router with locale; expects "locale" parameter in Next.js
useParams
hook.
use
Locale
Router
(
)
:
{
push
:
(
(
__namedParameters
)
=>
void
)
;
locale
:
string
;
}
Returns
{
push
:
(
(
__namedParameters
)
=>
void
)
;
locale
:
string
;
}
Readonly
push
:
(
(
__namedParameters
)
=>
void
)
(
__namedParameters
)
:
void
Parameters
__namedParameters
:
IHrefProps
Returns
void
locale
:
string
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
@use-pico
Loading...
Router with locale; expects "locale" parameter in Next.js
useParams
hook.