diff --git a/packages/react/src/components/Notification/Notification-story.js b/packages/react/src/components/Notification/Notification-story.js index f30f6e8ef7a4..91555afe9c1a 100644 --- a/packages/react/src/components/Notification/Notification-story.js +++ b/packages/react/src/components/Notification/Notification-story.js @@ -35,6 +35,10 @@ const notificationProps = () => ({ 'Icon description (iconDescription)', 'describes the close button' ), + statusIconDescription: text( + 'Status icon description (statusIconDescription)', + 'describes the status icon' + ), hideCloseButton: boolean('Hide close button (hideCloseButton)', false), onCloseButtonClick: action('onCloseButtonClick'), }); diff --git a/packages/react/src/components/Notification/Notification.js b/packages/react/src/components/Notification/Notification.js index 75b5eb6f75da..4cbe5008a749 100644 --- a/packages/react/src/components/Notification/Notification.js +++ b/packages/react/src/components/Notification/Notification.js @@ -238,8 +238,9 @@ NotificationIcon.propTypes = { export function ToastNotification({ role, notificationType, - onCloseButtonClick, // eslint-disable-line - iconDescription, // eslint-disable-line + onCloseButtonClick, + iconDescription, + statusIconDescription, className, caption, subtitle, @@ -287,7 +288,7 @@ export function ToastNotification({ ` and `` @@ -392,8 +398,9 @@ export function InlineNotification({ actions, role, notificationType, - onCloseButtonClick, // eslint-disable-line - iconDescription, // eslint-disable-line + onCloseButtonClick, + iconDescription, + statusIconDescription, className, subtitle, title, @@ -426,7 +433,7 @@ export function InlineNotification({ ` and ``