diff --git a/services/web/frontend/js/shared/components/notification.tsx b/services/web/frontend/js/shared/components/notification.tsx
index 7f9bb612a9..cf36dfc8f0 100644
--- a/services/web/frontend/js/shared/components/notification.tsx
+++ b/services/web/frontend/js/shared/components/notification.tsx
@@ -8,6 +8,7 @@ type NotificationType = 'info' | 'success' | 'warning' | 'error'
type NotificationProps = {
action?: React.ReactElement
ariaLive?: 'polite' | 'off' | 'assertive'
+ className?: string
content: React.ReactElement | string
customIcon?: React.ReactElement
isDismissible?: boolean
@@ -42,6 +43,7 @@ function NotificationIcon({
function Notification({
action,
ariaLive,
+ className = '',
content,
customIcon,
isActionBelowContent,
@@ -57,7 +59,8 @@ function Notification({
const notificationClassName = classNames(
'notification',
`notification-type-${type}`,
- isActionBelowContent ? 'notification-cta-below-content' : ''
+ isActionBelowContent ? 'notification-cta-below-content' : '',
+ className
)
const handleDismiss = () => {
diff --git a/services/web/frontend/stories/notification.stories.tsx b/services/web/frontend/stories/notification.stories.tsx
index cf486fcfaa..321e7e3e33 100644
--- a/services/web/frontend/stories/notification.stories.tsx
+++ b/services/web/frontend/stories/notification.stories.tsx
@@ -247,6 +247,72 @@ export const CustomIcon = (args: Args) => {
)
}
+export const MultipleButtons = (args: Args) => {
+ return (
+
code samples,{' '}
+ links, etc are all supported.
+
+ }
+ className="ol-overlay"
+ action={
+ <>
+
+
+ >
+ }
+ type="info"
+ isActionBelowContent
+ isDismissible
+ />
+ we need filler content, so here are some jokes
+