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:
committed by
Facebook GitHub Bot
parent
9ef69bdbad
commit
2111067d01
@@ -461,7 +461,9 @@ function HighlightedText(props: {text: string}) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function nodeIcon(node: UINode) {
|
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" />;
|
return <DecorationImage src="icons/litho-logo.png" />;
|
||||||
} else if (node.tags.includes('CK')) {
|
} else if (node.tags.includes('CK')) {
|
||||||
if (node.tags.includes('iOS')) {
|
if (node.tags.includes('iOS')) {
|
||||||
|
|||||||
@@ -221,6 +221,7 @@ export type Tag =
|
|||||||
| 'Declarative'
|
| 'Declarative'
|
||||||
| 'Android'
|
| 'Android'
|
||||||
| 'Litho'
|
| 'Litho'
|
||||||
|
| 'LithoMountable'
|
||||||
| 'CK'
|
| 'CK'
|
||||||
| 'iOS'
|
| 'iOS'
|
||||||
| 'BloksBoundTree'
|
| 'BloksBoundTree'
|
||||||
|
|||||||
BIN
desktop/static/icons/litho-logo-blue.png
Normal file
BIN
desktop/static/icons/litho-logo-blue.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 884 B |
Reference in New Issue
Block a user