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

main.react.Children.kt Maven / Gradle / Ivy

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

package react

import kotlinx.js.ReadonlyArray

external object Children {
    fun  map(children: ReactNode?, handler: (ReactNode) -> T): ReadonlyArray?
    fun forEach(children: ReactNode?, handler: (ReactNode) -> Unit)
    fun count(children: ReactNode?): Int
    fun only(children: ReactNode?): ReactElement<*>
    fun toArray(children: ReactNode?): ReadonlyArray
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy