@Documented
@Target(value=TYPE)
public @interface ReactComponent
| Modifier and Type | Optional Element and Description |
|---|---|
Feature |
inject
Enum controlling whether javax.inject integration is generated for the component.
|
java.lang.String |
name
Return the name of the component.
|
Feature |
sting
Enum controlling whether Sting injection integration is generated for the component.
|
ReactComponent.Type |
type
Enum indicating the capabilities of the component.
|
@Nonnull public abstract java.lang.String name
@Nonnull public abstract ReactComponent.Type type
ReactComponent.Type enum for further details.ReactComponent.Typepublic abstract Feature inject
Feature.ENABLE
unless there are constructor parameters on the component. If the value is set to
Feature.AUTODETECT then the feature will be enabled if the component has
constructor parameters and the javax.inject.Inject class is present when
compiling the component.public abstract Feature sting
Feature.ENABLE
unless there are constructor parameters on the component. If the value is set to
Feature.AUTODETECT then the feature will be enabled if the component has
constructor parameters and the sting.Injectable class is present when compiling
the component.