@Target(value=FIELD)
@Retention(value=RUNTIME)
public @interface UIProp
ViewManager.getNativeProps() traverses the fields of its
subclasses and extracts the UIProp annotation data to generate the
NativeProps map. Example:
{@code| Modifier and Type | Required Element and Description |
|---|---|
UIProp.Type |
value |
public abstract UIProp.Type value