slack.confirmationdialogobject.style
Home > @runlightyear/slack > ConfirmationDialogObject > style
ConfirmationDialogObject.style property
Defines the color scheme applied to the confirm button. A value of danger will display the button with a red background on desktop, or red text on mobile. A value of primary will display the button with a green background on desktop, or blue text on mobile. If this field is not provided, the default value will be primary.
Signature:style?: "primary" | "danger";