@Documented
@Target(value=METHOD)
public @interface State
The methods that are annotated with @State
must also comply with the following constraints:
ReactComponent
The getter must also comply with the following constraints:
The setter must also comply with the following constraints:
Modifier and Type | Optional Element and Description |
---|---|
java.lang.String |
name
Return the name of the state value.
|
@Nonnull public abstract java.lang.String name