Add CK and iOS tags
Summary: ^ Reviewed By: LukeDefeo Differential Revision: D41876581 fbshipit-source-id: 79b98a06abb503f4cd39a61a2ed90e7899b8fd68
This commit is contained in:
committed by
Facebook GitHub Bot
parent
8dd5b57444
commit
d66b513298
@@ -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" />;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
BIN
desktop/static/icons/ck-logo.png
Normal file
BIN
desktop/static/icons/ck-logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 5.3 KiB |
BIN
desktop/static/icons/ck-mounted-logo.png
Normal file
BIN
desktop/static/icons/ck-mounted-logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 5.3 KiB |
Reference in New Issue
Block a user