The options used to make a button item.

interface IButton {
    accept: boolean;
    actions: string[];
    ariaLabel: string;
    caption: string;
    className: string;
    displayType: "default" | "warn";
    iconClass: string;
    iconLabel: string;
    label: string;
}

Properties

accept: boolean

The dialog action to perform when the button is clicked.

actions: string[]

The additional dialog actions to perform when the button is clicked.

ariaLabel: string

The aria label for the button.

caption: string

The caption for the button.

className: string

The extra class name for the button.

displayType: "default" | "warn"

The button display type.

iconClass: string

The icon class for the button.

iconLabel: string

The icon label for the button.

label: string

The label for the button.