Skip to content

EnumPropsBase

Extends BaseDeclarationProps

baseTypeoptional “Enum” | “IntEnum” | “StrEnum” | “Flag” | “IntFlag”The base type of the enum. One of: ‘Enum’, ‘IntEnum’, ‘StrEnum’, ‘Flag’, ‘IntFlag’. Defaults to ‘Enum’.
docoptional ChildrenOptional docstring for the enum.
membersoptional Array<EnumMemberProps>Members of the enum as an array of objects.