-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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(overflowmenuitem): isDanger should not apply a dividing border #8072
fix(overflowmenuitem): isDanger should not apply a dividing border #8072
Conversation
Deploy preview for carbon-elements ready! Built with commit 83bf736 |
Deploy preview for carbon-components-react ready! Built without sensitive environment variables with commit 83bf736 https://deploy-preview-8072--carbon-components-react.netlify.app |
Deploy preview for carbon-elements ready! Built with commit 95da352 |
Deploy preview for carbon-components-react ready! Built without sensitive environment variables with commit 95da352 https://deploy-preview-8072--carbon-components-react.netlify.app |
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.
@tay1orjones looks good!
looks good to me as well. |
The
OverflowMenuItem
doesn't need to automatically apply a border/divider when the itemisDanger
since thehasDivider
prop is available. This was pointed out on slack.Changelog
Changed
OverflowMenuItem
hasisDanger
Testing / Reviewing
The OverflowMenu playground story now has
isDanger
andhasDivider
as knobs.