interface SnackbarAction {
    icon?: Element;
    onClick: (() => void);
    text: string;
}

Properties

Properties

icon?: Element

Icon to be displayed at the end of the button.

onClick: (() => void)

The function to call when the action is clicked.

text: string

The text to display on the action button.