kvision / pl.treksoft.kvision.react

Package pl.treksoft.kvision.react

KVision bindings for embedded React components.

Types

(js)

React

React component for KVision with support for state holder.

class React<S> : Widget, ObservableState<S>

Functions

(js)

react

DSL builder extension function.

fun <S> Container.react(state: S, classes: Set<String>? = null, className: String? = null, builder: RBuilder.(getState: () -> S, changeState: ((S) -> S) -> Unit) -> Unit): React<S>
fun Container.react(classes: Set<String>? = null, className: String? = null, builder: RBuilder.() -> Unit): React<dynamic>