Package react4j

Interface Context.ConsumerRenderFunction<T>

Enclosing class:
Context<T>
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@JsFunction @FunctionalInterface public static interface Context.ConsumerRenderFunction<T>
Interface used to type the render function input.
  • Method Summary

    Modifier and Type
    Method
    Description
    render(T value)
    Render the specified tree for context value.
  • Method Details

    • render

      ReactNode render(T value)
      Render the specified tree for context value.
      Parameters:
      value - the context value.
      Returns:
      the rendered react node tree.