[Bug]: Stories for notification components showing incorrect examples #18139
Labels
component: notification
package: @carbon/react
@carbon/react
severity: 3
https://ibm.biz/carbon-severity
type: bug 🐛
type: docs 📖
Package
@carbon/react
Browser
No response
Package version
1.71.0
React version
No response
Description
The 'Overview' document for each of the Notification variants in the Storybook shows the same doc content. This leads to an issue with the code examples that are displayed. The titles of the examples suggest it should show each of the 3 variants (actionable, inline, toast), but all 3 actually show examples of the selected variant only.
i.e. when viewing the 'Overview' page for the ActionableNotification component, all 3 examples show an instance of the ActionableNotification.
Actionable:
https://react.carbondesignsystem.com/?path=/docs/components-notifications-actionable--overview
Inline:
https://react.carbondesignsystem.com/?path=/docs/components-notifications-inline--overview
Toast:
https://react.carbondesignsystem.com/?path=/docs/components-notifications-toast--overview
Reproduction/example
See links to Storybook in description
Steps to reproduce
View the Storybook links and scroll to the examples at the bottom of those pages.
Suggested Severity
None
Application/PAL
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: