This repository was archived by the owner on Nov 22, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 959
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Integrate NT debug metadata into UIDebugger for NT Components
Summary: Lets do the same thing we did on iOS in bringing NT derived layers into the UIDebugger. This should be enough for us to deprecate the NT Layout plugin completely Reviewed By: LukeDefeo Differential Revision: D56630864 fbshipit-source-id: c72ec67502aebec952156e6dc6be655650fc1595
- Loading branch information
1 parent
260ac0b
commit 35f7c0f
Showing
2 changed files
with
45 additions
and
1 deletion.
There are no files selected for viewing
19 changes: 19 additions & 0 deletions
19
.../com/facebook/flipper/plugins/uidebugger/litho/ILithoDebugComponentDescriptorExtension.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
/* | ||
* Copyright (c) Meta Platforms, Inc. and affiliates. | ||
* | ||
* This source code is licensed under the MIT license found in the | ||
* LICENSE file in the root directory of this source tree. | ||
*/ | ||
|
||
package com.facebook.flipper.plugins.uidebugger.litho | ||
|
||
import com.facebook.inject.statics.BoundSetStatic | ||
import com.facebook.litho.DebugComponent | ||
import kotlinx.serialization.json.JsonObject | ||
|
||
@BoundSetStatic | ||
interface ILithoDebugComponentDescriptorExtension { | ||
fun getExtraTags(node: DebugComponent): Set<String>? | ||
|
||
fun getExtraHiddenAttributes(node: DebugComponent): JsonObject? | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters