Litho Props
Summary: This diff adds support for layout and component props from Litho. Notes: - Each component could register a descriptor for itself. Reviewed By: LukeDefeo Differential Revision: D40680095 fbshipit-source-id: 57c78a199db58e05dd6dac4ed32ff6a869a73b0a
This commit is contained in:
committed by
Facebook GitHub Bot
parent
612bd69605
commit
7ae0eac13a
@@ -89,6 +89,10 @@ sealed class InspectableValue : Inspectable() {
|
||||
val value: com.facebook.flipper.plugins.uidebugger.model.Enumeration,
|
||||
) : InspectableValue()
|
||||
|
||||
@SerialName("unknown")
|
||||
@kotlinx.serialization.Serializable
|
||||
data class Unknown(val value: String?) : InspectableValue() {}
|
||||
|
||||
companion object {
|
||||
/**
|
||||
* Will attempt to convert Any ref to a suitable primitive inspectable value. Only use if you
|
||||
|
||||
@@ -64,4 +64,4 @@ data class Size(
|
||||
) {}
|
||||
|
||||
@kotlinx.serialization.Serializable
|
||||
data class Enumeration(val values: Set<String>, val value: String)
|
||||
data class Enumeration(val values: Set<String>, val value: String?)
|
||||
|
||||
Reference in New Issue
Block a user