jsMain.react.router.useHref.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of kotlin-react-router-dom-legacy-js
Show all versions of kotlin-react-router-dom-legacy-js
Kotlin wrapper for React Router DOM library
// 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