jsMain.react.router.createRoutesFromChildren.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
/**
* Creates a route config from a React "children" object, which is usually
* either a `` element or an array of them. Used internally by
* `` to create a route config from its children.
*
* @see https://reactrouter.com/docs/en/v6/api#createroutesfromchildren
*/
external fun createRoutesFromChildren(
children: react.ReactNode,
): ReadonlyArray
© 2015 - 2025 Weber Informatics LLC | Privacy Policy