Optional Enum Property
Optionaldescription?: stringAn optional description that will be displayed below the property in the editor to help users understand the purpose and available options of this property.
Human-readable label for this property. Will be used to represent this property in the UI.
List of enum options, either as a list of scalar values or as objects.
OptionalpropGroup?: stringOptionally display this prop as part of the given prop category.
OptionaldefaultValue?: OptionValueOf<O>The default value for this property.
Mark this as an optional value that can also take the value undefined.
Non-Optional Enum Property
Optionaldescription?: stringAn optional description that will be displayed below the property in the editor to help users understand the purpose and available options of this property.
Human-readable label for this property. Will be used to represent this property in the UI.
List of enum options, either as a list of scalar values or as objects.
OptionalpropGroup?: stringOptionally display this prop as part of the given prop category.
The default value for this property.
Mark this as an optional value that can also take the value undefined.
Declares a prop that can hold a value from a set of options.
Example
Declaring an enum property