diff --git a/packages/react/__tests__/__snapshots__/PublicAPI-test.js.snap b/packages/react/__tests__/__snapshots__/PublicAPI-test.js.snap index 79cb1c7a4583..fe7a68624a9a 100644 --- a/packages/react/__tests__/__snapshots__/PublicAPI-test.js.snap +++ b/packages/react/__tests__/__snapshots__/PublicAPI-test.js.snap @@ -3529,7 +3529,6 @@ Map { "type": "bool", }, "iconDescription": Object { - "isRequired": true, "type": "string", }, "kind": Object { @@ -3558,7 +3557,6 @@ Map { "type": "string", }, "statusIconDescription": Object { - "isRequired": true, "type": "string", }, "subtitle": Object { @@ -3595,7 +3593,6 @@ Map { "type": "bool", }, "iconDescription": Object { - "isRequired": true, "type": "string", }, "kind": Object { @@ -3624,7 +3621,6 @@ Map { "type": "string", }, "statusIconDescription": Object { - "isRequired": true, "type": "string", }, "subtitle": Object { diff --git a/packages/react/src/components/Notification/Notification.js b/packages/react/src/components/Notification/Notification.js index 4cbe5008a749..5ae619b1fee6 100644 --- a/packages/react/src/components/Notification/Notification.js +++ b/packages/react/src/components/Notification/Notification.js @@ -358,12 +358,12 @@ ToastNotification.propTypes = { /** * Provide a description for "close" icon that can be read by screen readers */ - iconDescription: PropTypes.string.isRequired, + iconDescription: PropTypes.string, /** * Provide a description for "status" icon that can be read by screen readers */ - statusIconDescription: PropTypes.string.isRequired, + statusIconDescription: PropTypes.string, /** * By default, this value is "toast". You can also provide an alternate type @@ -504,12 +504,12 @@ InlineNotification.propTypes = { /** * Provide a description for "close" icon that can be read by screen readers */ - iconDescription: PropTypes.string.isRequired, + iconDescription: PropTypes.string, /** * Provide a description for "status" icon that can be read by screen readers */ - statusIconDescription: PropTypes.string.isRequired, + statusIconDescription: PropTypes.string, /** * By default, this value is "inline". You can also provide an alternate type