Interface to define a custom button for the toolbar "More" dropdown menu.

interface CustomButton {
    className?: string;
    onClick: Function;
    text: string;
}

Properties

className?: string

The button's class name.

onClick: Function

Callback when the button is clicked.

text: string

The button's label.