HTML children as an array of IStandardElement or as a string.
Must have a size of PortalSize.
Optional parameter to remove the beak from the notification.
Must be one of PortalSize.
Note: this is only the requested size. In certain breakpoints the size may be altered to ensure the content remains within the current screen size.
Optional parameter to set the theme of the notification (light/dark). Default is light.
Must be Notification
Generated using TypeDoc
Element used to render a notification.
An example of a notification:
{ tag: 'Notification', props: { size: 'small', theme: 'light' }, children: 'New Notification!' }