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’.

docoptionalChildren

Optional docstring for the enum.

membersoptionalArray<EnumMemberProps>

Members of the enum as an array of objects.