Skip to content

NotificationItemRouterLinkIcon Type documentation

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"

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.