Class Context.ConsumerBuilder<ST extends @Nullable Object>
java.lang.Object
react4j.Context.ConsumerBuilder<ST>
-
Method Summary
Modifier and TypeMethodDescriptionSpecify the key for component if required.render(Context.ConsumerRenderFunction<ST> render) Specify the child render function.
-
Method Details
-
key
Specify the key for component if required.- Parameters:
key- the key for the component.- Returns:
- the builder.
-
render
Specify the child render function.- Parameters:
render- the child render function.- Returns:
- the creates react node.
-