Skip to content

NotificationItemQuickAction Type documentation

Union type for quick actions in a notification item.

Types Documentation

Interface for an action circle button in a notification item.
@param: The type of the action, always 'action-circle-button'.
@param: Optional custom CSS class for styling.
@param: The action to perform when the button is clicked.
Deprecated: Use NotificationItemActionIconButton instead. This will be removed in a future release.
Properties
action: (source: this) => void
ariaLabel: TranslatableString from ariaLabel
customClass?: string
icon: string from icon
type: "action-circle-button"
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"
Interface for a standard link with an icon in a notification item.
@param: The type of the link, always 'link'.
@param: The URL to navigate to.
@param: Optional target attribute for the link.
Properties
ariaLabel: TranslatableString from ariaLabel
href: string
icon: string from icon
target?: string
type: "link"
Interface for a router link with an icon in a notification item.
@param: The type of the link, always 'router-link'.
@param: The router link to navigate to.
@param: Optional navigation extras for the router.
Properties
ariaLabel: TranslatableString from ariaLabel
extras?: NavigationExtras
icon: string from icon
type: "router-link"
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.