-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Issue/9785 - Remove isButton prop #9786
Conversation
@Soean Cool, wasn't sure if I should remove those, fixed 👍 |
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.
The tests are fine now.
There is no isButton prop, see https://github.com/WordPress/gutenberg/blob/master/packages/components/src/button/index.js
The is-button
class is applied, if you use isDefault
. So I think we can merge it. @tofumatt do you agree?
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.
Makes sense to me. isButton
is a weird prop for a button to have, happy to nix it 😄
Fixes #9785
Description
Removed the isButton prop
How has this been tested?
Removed prop, recompiled, opened color settings panel and there was no error.
Checklist: