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