Introduce @ReactProp-enabled LayoutShadowNode as a baseclass for most of the shadow nodes.

Differential Revision: D2540232

fb-gh-sync-id: 6dfed70c8253973897f4e447377ec5561862da23
This commit is contained in:
Krzysztof Magiera
2015-10-14 01:27:38 -07:00
committed by facebook-github-bot-9
parent 9493e96e13
commit 589df04846
10 changed files with 197 additions and 201 deletions

View File

@@ -12,7 +12,7 @@ import com.facebook.react.bridge.ReadableMap;
* Base class that should be suitable for the majority of subclasses of {@link ViewManager}.
* It provides support for base view properties such as backgroundColor, opacity, etc.
*/
public abstract class BaseViewManager<T extends View, C extends ReactShadowNode>
public abstract class BaseViewManager<T extends View, C extends LayoutShadowNode>
extends ViewManager<T, C> {
private static final String PROP_BACKGROUND_COLOR = ViewProps.BACKGROUND_COLOR;