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

jsMain.react.router.useRoutes.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

import js.core.ReadonlyArray

/**
 * Returns the element of the route that matched the current location, prepared
 * with the correct context to render the remainder of the route tree. Route
 * elements in the tree must render an  to render their child route's
 * element.
 *
 * @see https://reactrouter.com/docs/en/v6/api#useroutes
 */
external fun useRoutes(
    routes: ReadonlyArray,
    locationArg: history.Location = definedExternally,
): react.ReactElement<*>?




© 2015 - 2025 Weber Informatics LLC | Privacy Policy