Skip to content

NotificationItemActionIconButton Type documentation

Interface for an action icon button in a notification item.
@param: The type of the action, always 'action-icon-button'.
@param: Optional custom CSS class for styling.
@param: The action to perform when the button is clicked.
Properties
action: (source: this) => void
ariaLabel: TranslatableString from ariaLabel
customClass?: string
icon: string from icon
type: "action-icon-button"

Types Documentation

Base interface for notification item actions.
@param: The ARIA label for accessibility.
@param: The icon to display for the action.
Properties
ariaLabel: TranslatableString
icon: string
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.
Property
Translatable
import

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