@Documented
@Target(value=METHOD)
public @interface Prop
The method that is annotated with @Prop
must also comply with the following constraints:
ReactComponent
@Nonnull public abstract java.lang.String name
public abstract Feature require
Feature.ENABLE
then the user MUST supply the prop and the builder will require the user
to specify the value. If set to Feature.DISABLE
then the user can optionally supply the prop.
If set to Feature.AUTODETECT
then the annotation processor will treat it as Feature.DISABLE
if theere is a corresponding PropDefault
for the prop, otherwise it will be treated as
Feature.ENABLE
.