react4j.internal.ViewConstructorFunction Maven / Gradle / Ivy
The newest version!
package react4j.internal;
import jsinterop.annotations.JsFunction;
import jsinterop.base.JsPropertyMap;
/**
* A function interface to create component instances.
* This is typically implemented by the classed generated by the annotation processor and should
* not be directly implemented.
*/
@FunctionalInterface
@JsFunction
public interface ViewConstructorFunction
{
/**
* Construct a component based on specified inputs.
*
* @param inputs the component inputs.
* @return the component.
*/
NativeView construct( JsPropertyMap