Remove Enumeration type
Summary: Enumeration used to be a type containing a single property value of type string. The InspectableEnum is a type that had an Enumeration value and possible values. As we removed possible values from the enum value, this structure no longer serves its purpose. Reviewed By: antonk52 Differential Revision: D41400874 fbshipit-source-id: e5c2d1e15ee9b3074ddd69f75ee9b8150d44379f
This commit is contained in:
committed by
Facebook GitHub Bot
parent
5e200dd7ec
commit
5b3e110821
@@ -102,7 +102,7 @@ function create(
|
||||
case 'enum':
|
||||
return (
|
||||
<NamedAttributeInspector name={displayableName(name)}>
|
||||
<EnumValue>{inspectable.value.value}</EnumValue>
|
||||
<EnumValue>{inspectable.value}</EnumValue>
|
||||
</NamedAttributeInspector>
|
||||
);
|
||||
case 'text':
|
||||
|
||||
Reference in New Issue
Block a user