react
fun <S> Container.react(state: S, className: String? = null, builder: ChildrenBuilder.(getState: () -> S, changeState: ((S) -> S) -> Unit) -> Unit): React<S>(source)
fun Container.react(className: String? = null, builder: ChildrenBuilder.() -> Unit): React<dynamic>(source)
DSL builder extension function.
It takes the same parameters as the constructor of the built component.