React

fun <S> React(    state: S,     className: String? = null,     builder: <ERROR 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.