@FunctionalInterface
@JsFunction
public interface ComponentConstructorFunction
Modifier and Type | Method and Description |
---|---|
NativeComponent |
construct(jsinterop.base.JsPropertyMap<java.lang.Object> props)
Construct a component based on specified properties.
|
NativeComponent construct(jsinterop.base.JsPropertyMap<java.lang.Object> props)
props
- the component props.