generatePath

external fun generatePath(originalPath: String, params: ReadonlyRecord<String, String> = definedExternally): String(source)

Returns a path with params interpolated.

See also

https

://reactrouter.com/v6/utils/generate-path