Skip to main content
Version: Next

CommandKitElementData

CommandKitElementData

The data structure that maps each ElementType to its corresponding CommandKit element.

Signature
interface CommandKitElementData {
[ElementType.ActionRow]: ActionRowBuilder;
[ElementType.Button]: ButtonKit;
[ElementType.Modal]: ModalKit;
[ElementType.TextInput]: TextInputBuilder;
}

[ElementType.ActionRow]

property
ActionRowBuilder

[ElementType.Button]

property

[ElementType.Modal]

property

[ElementType.TextInput]

property
TextInputBuilder