Detect classes which are Litho Components
Summary: Populate class name for Litho Components. Reviewed By: adityasharat Differential Revision: D22922106 fbshipit-source-id: e18b748e0e0bd6f511558124a28b4b58d217ded7
This commit is contained in:
committed by
Facebook GitHub Bot
parent
7e84c8e880
commit
86cafb9e80
@@ -332,6 +332,7 @@ public class DebugComponentDescriptor extends NodeDescriptor<DebugComponent> {
|
|||||||
// doesn't add linked node descriptor
|
// doesn't add linked node descriptor
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
extraInfo.put("className", node.getComponent().getClass().getName());
|
||||||
return extraInfo.build();
|
return extraInfo.build();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -41,6 +41,7 @@ export type ElementExtraInfo = {
|
|||||||
linkedNode?: string; // id of linked node in opposite tree
|
linkedNode?: string; // id of linked node in opposite tree
|
||||||
expandWithParent?: boolean;
|
expandWithParent?: boolean;
|
||||||
linkedTree?: string;
|
linkedTree?: string;
|
||||||
|
className?: string;
|
||||||
};
|
};
|
||||||
|
|
||||||
export type Element = {
|
export type Element = {
|
||||||
|
|||||||
Reference in New Issue
Block a user