Add icon for litho mountables

Summary:
Requested by litho team

Changelog: UIDebugger Add seperate icon for litho mountables

Changelog: UIDebugger Serialize all props using java.lang.toString

Changelog: UIDebugger show drawables mounted by litho

Reviewed By: lblasa

Differential Revision: D47295799

fbshipit-source-id: ce5b9384e4796a5c58080a289709ed9f7afdf329
This commit is contained in:
Luke De Feo
2023-07-17 09:33:42 -07:00
committed by Facebook GitHub Bot
parent 9ef69bdbad
commit 2111067d01
3 changed files with 4 additions and 1 deletions

View File

@@ -461,7 +461,9 @@ function HighlightedText(props: {text: string}) {
}
function nodeIcon(node: UINode) {
if (node.tags.includes('Litho')) {
if (node.tags.includes('LithoMountable')) {
return <DecorationImage src="icons/litho-logo-blue.png" />;
} else if (node.tags.includes('Litho')) {
return <DecorationImage src="icons/litho-logo.png" />;
} else if (node.tags.includes('CK')) {
if (node.tags.includes('iOS')) {

View File

@@ -221,6 +221,7 @@ export type Tag =
| 'Declarative'
| 'Android'
| 'Litho'
| 'LithoMountable'
| 'CK'
| 'iOS'
| 'BloksBoundTree'

Binary file not shown.

After

Width:  |  Height:  |  Size: 884 B