Add CK and iOS tags

Summary: ^

Reviewed By: LukeDefeo

Differential Revision: D41876581

fbshipit-source-id: 79b98a06abb503f4cd39a61a2ed90e7899b8fd68
This commit is contained in:
Lorenzo Blasa
2022-12-13 10:02:05 -08:00
committed by Facebook GitHub Bot
parent 8dd5b57444
commit d66b513298
4 changed files with 6 additions and 1 deletions

View File

@@ -332,6 +332,11 @@ function HighlightedText(props: {text: string}) {
function nodeIcon(node: UINode) {
if (node.tags.includes('Litho')) {
return <DecorationImage src="icons/litho-logo.png" />;
} else if (node.tags.includes('CK')) {
if (node.tags.includes('iOS')) {
return <DecorationImage src="icons/ck-mounted-logo.png" />;
}
return <DecorationImage src="icons/ck-logo.png" />;
}
}

View File

@@ -124,7 +124,7 @@ export type Id = number;
export type MetadataId = number;
export type TreeState = {expandedNodes: Id[]};
export type Tag = 'Native' | 'Declarative' | 'Android' | 'Litho';
export type Tag = 'Native' | 'Declarative' | 'Android' | 'Litho' | 'CK' | 'iOS';
export type Inspectable =
| InspectableObject

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB