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:
Lorenzo Blasa
2022-11-21 05:30:18 -08:00
committed by Facebook GitHub Bot
parent 5e200dd7ec
commit 5b3e110821
9 changed files with 16 additions and 25 deletions

View File

@@ -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':