React
fun <S> React( state: S, className: String? = null, builder: <Error class: unknown class>.(getState: () -> S, changeState: ((S) -> S) -> Unit) -> Unit)
Content copied to clipboard
Parameters
S
state type
class Name
CSS class names
builder
a builder function for external react components with support for the state holder.