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

main.react.router.useMatch.kt Maven / Gradle / Ivy

// Automatically generated - do not modify!

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

package react.router

/**
 * Returns true if the URL for the given "to" value matches the current URL.
 * This is useful for components that need to know "active" state, e.g.
 * .
 *
 * @see https://reactrouter.com/docs/en/v6/api#usematch
 */
external fun useMatch(
    pattern: String,
): PathMatch




© 2015 - 2024 Weber Informatics LLC | Privacy Policy