mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-02-11 09:11:14 +08:00
Extract @ReactProp annotated properties from shadow nodes.
Differential Revision: D2536419 fb-gh-sync-id: 643499d4fdcb481349dad1701391059d2362984e
This commit is contained in:
committed by
facebook-github-bot-2
parent
3d22547e31
commit
05015e8d36
@@ -231,7 +231,7 @@ public abstract class ViewManager<T extends View, C extends ReactShadowNode> {
|
||||
// refactoring is finished
|
||||
Class cls = getClass();
|
||||
Map<String, String> nativeProps =
|
||||
ViewManagersPropertyCache.getNativePropsForView(cls);
|
||||
ViewManagersPropertyCache.getNativePropsForView(cls, getShadowNodeClass());
|
||||
while (cls.getSuperclass() != null) {
|
||||
Map<String, UIProp.Type> props = getNativePropsForClass(cls);
|
||||
for (Map.Entry<String, UIProp.Type> entry : props.entrySet()) {
|
||||
|
||||
Reference in New Issue
Block a user