Skip to content

Commit

Permalink
feat(constants): Updated ComponentButton
Browse files Browse the repository at this point in the history
  • Loading branch information
fbrettnich authored Jun 9, 2024
1 parent bd8d384 commit a6d8676
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -899,11 +899,11 @@ export interface ComponentButton {
/** The type of component to use. */
type: ComponentType.BUTTON;
/** The style of button to show. */
style: ButtonStyle.PRIMARY | ButtonStyle.SECONDARY | ButtonStyle.SUCCESS | ButtonStyle.DESTRUCTIVE;
style: ButtonStyle.PRIMARY | ButtonStyle.SECONDARY | ButtonStyle.SUCCESS | ButtonStyle.DESTRUCTIVE | ButtonStyle.DANGER;
/** The identifier for this button. */
custom_id: string;
/** The label of the button. */
label: string;
label?: string;
/** The emoji to show inside the button. */
emoji?: PartialEmoji;
/** Whether this button will show as disabled. */
Expand Down

0 comments on commit a6d8676

Please sign in to comment.