Add unknown type support in visualiser
Summary: ^ In this case, the unknown value, which is a text will be displayed as sent by the client. Reviewed By: antonk52 Differential Revision: D41494094 fbshipit-source-id: 9295e3f7e055a8ce9b430137600108a4cdf32c90
This commit is contained in:
committed by
Facebook GitHub Bot
parent
7ec09b4f95
commit
ae5eeb137d
@@ -153,6 +153,12 @@ function create(
|
||||
<SpaceBoxInspector value={inspectable.value} />
|
||||
</NamedAttributeInspector>
|
||||
);
|
||||
case 'unknown':
|
||||
return (
|
||||
<NamedAttributeInspector name={displayableName(name)}>
|
||||
<TextValue>{inspectable.value}</TextValue>
|
||||
</NamedAttributeInspector>
|
||||
);
|
||||
case 'object':
|
||||
return (
|
||||
<ObjectAttributeInspector
|
||||
|
||||
Reference in New Issue
Block a user