Preparing search index...
The search index is not available
React Router API Reference
React Router API Reference
react-router
generatePath
Function generatePath
generate
Path
<
Path
>
(
originalPath
,
params
?
)
:
string
Returns a path with params interpolated.
Type Parameters
Path
extends
string
Parameters
originalPath
:
Path
params
:
{
[
key
in
"*"
]
:
null
|
string
}
= ...
Returns
string
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
React Router API Reference
Loading...
Returns a path with params interpolated.