-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(notification): update status icon description prop #5266
fix(notification): update status icon description prop #5266
Conversation
Deploy preview for carbon-elements ready! Built with commit f6f7d45 |
Deploy preview for carbon-components-react ready! Built with commit f6f7d45 https://deploy-preview-5266--carbon-components-react.netlify.com |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍 - Thanks @tw15egan!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good to me, just one question about the prop requirement
cd2940f
to
c093482
Compare
Closes #5261
Adds in a new prop,
statusIconDescription
that allows a user to add a description to the status icon. Defaults to${kind} icon
if no prop is provided.Changelog
New
statusIconDescription
Removed
NotificationIcon
no longer takes the sameiconDescription
as the close buttonTesting / Reviewing
Ensure the status icon and close button have different text on hover, even if no description is provided.