mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-02-10 17:22:45 +08:00
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:
committed by
facebook-github-bot-9
parent
9493e96e13
commit
589df04846
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user