All Downloads are FREE. Search and download functionalities are using the official Maven repository.

jsMain.react.router.useHref.kt Maven / Gradle / Ivy

There is a newer version: 6.3.0-pre.506-compat
Show newest version
// Automatically generated - do not modify!

@file:JsModule("react-router")
@file:JsNonModule

package react.router

/**
 * Returns the full href for the given "to" value. This is useful for building
 * custom links that are also accessible and preserve right-click behavior.
 *
 * @see https://reactrouter.com/docs/en/v6/api#usehref
 */
external fun useHref(
    to: history.To,
): String




© 2015 - 2025 Weber Informatics LLC | Privacy Policy