mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00: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
@@ -20,16 +20,16 @@ import android.view.View;
|
||||
* @param <T> the view handled by this manager
|
||||
*/
|
||||
public abstract class SimpleViewManager<T extends View> extends
|
||||
BaseViewManager<T, ReactShadowNode> {
|
||||
BaseViewManager<T, LayoutShadowNode> {
|
||||
|
||||
@Override
|
||||
public ReactShadowNode createShadowNodeInstance() {
|
||||
return new ReactShadowNode();
|
||||
public LayoutShadowNode createShadowNodeInstance() {
|
||||
return new LayoutShadowNode();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Class<ReactShadowNode> getShadowNodeClass() {
|
||||
return ReactShadowNode.class;
|
||||
public Class<LayoutShadowNode> getShadowNodeClass() {
|
||||
return LayoutShadowNode.class;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user