React

fun <S> React(    state: S,     className: String? = null,     builder: <Error class: unknown class>.(getState: () -> S, changeState: ((S) -> S) -> Unit) -> Unit)

Parameters

S

state type

className

CSS class names

builder

a builder function for external react components with support for the state holder.