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 authored and facebook-github-bot-9 committed 2015-10-14 01:41:26 -07:00
1 parent 9493e96e13
commit 589df04846
10 files changed
+197 -201

No files matched your search

@@ -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;