Skip to main content
Version: 1.x

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