Modifier and Type | Method and Description |
---|---|
Context.ConsumerBuilder<ST> |
key(java.lang.String key)
Specify the key for component if required.
|
ReactNode |
render(Context.ConsumerRenderFunction<ST> render)
Specify the child render function.
|
@Nonnull public Context.ConsumerBuilder<ST> key(@Nonnull java.lang.String key)
key
- the key for the component.@Nonnull public ReactNode render(@Nonnull Context.ConsumerRenderFunction<ST> render)
render
- the child render function.