Skip to content

NotificationItemActionButton Type documentation

Interface for an action button in a notification item.
@param: The type of the action, always 'action-button'.
@param: The label to display on the button.
@param: The action to perform when the button is clicked.
Properties
action: (source: this) => void
label: TranslatableString
type: "action-button"

Types Documentation

Represents a translatable string. This can either be a translation key, e.g. ACTIONS.EDIT that will be automatically translated when displayed on the UI or a pre-translated string, e.g. Edit . Equivalent to a normal string in usage and functionality.
Translatable
import

Except where otherwise noted, content on this site is licensed under MIT License.