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

jsMain.react.router.dom.useLinkClickHandler.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-dom")
@file:JsNonModule

package react.router.dom

import web.dom.Element
import web.window.WindowTarget

/**
 * Handles the click behavior for router `` components. This is useful if
 * you need to create custom `` components with the same click behavior we
 * use in our exported ``.
 */
external interface ClickHandlerOptions {
    var target: WindowTarget?
    var replace: Boolean?
    var state: history.LocationState?
}

external fun  useLinkClickHandler(
    to: history.To,
    options: ClickHandlerOptions = definedExternally,
): react.dom.events.MouseEventHandler




© 2015 - 2025 Weber Informatics LLC | Privacy Policy