EnumPropsBase
Members
Section titled “Members”Extends BaseDeclarationProps
baseType | optional”Enum” | “IntEnum” | “StrEnum” | “Flag” | “IntFlag” The base type of the enum. One of: ‘Enum’, ‘IntEnum’, ‘StrEnum’, ‘Flag’, ‘IntFlag’. Defaults to ‘Enum’. |
doc | optionalChildren Optional docstring for the enum. |
members | optionalArray<EnumMemberProps> Members of the enum as an array of objects. |