Skip to main content

foundation-notifications.shownotification

Home > @genesislcap/foundation-notifications > showNotification

showNotification() function

Shows the notificationStructure in the appropriate component

Signature:

showNotification: (notificationStructure: NotificationStructure, tagName: String, notificationBoundary?: HTMLElement) => void

Parameters

Parameter

Type

Description

notificationStructure

NotificationStructure

The NotificationStructure object

tagName

String

The tag name to create prefix for the design system provider *

notificationBoundary

HTMLElement

(Optional) The notificationStructure boundary element

Returns:

void