-
Notifications
You must be signed in to change notification settings - Fork 221
Button: Update deprecated props #11933
Button: Update deprecated props #11933
Conversation
@nielslange |
Thanks for asking and, especially, thanks for your contribution, @arsanyjoseph! 🙌 As for filling in the PR, allow me to briefly walk you thought the sections and give you examples.
I hope this helps. If you have any further questions, feel free to ask anytime! |
This PR has been marked as If deemed still relevant, the pr can be kept active by ensuring it's up to date with the main branch and removing the stale label. |
@arsanyjoseph, do you need any further assistance? Were @nielslange's suggestions helpful? |
As we are migrating to the WooCommerce monorepo this weekend I'm taking over this PR so that we can get it merged before the migration. |
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.
I have now updated the PR description and tested it. Buttons are working fine with the updated props.
All tests have passed on the copy of this PR here: #12099 I'm merging. |
What
Fixes #11855
Why
This PR updates the deprecated
isPrimary
,isSecondary
,isTertiary
andisLink
props to thevariant
prop.Testing Instructions
Please consider any edge cases this change may have, and also other areas of the product this may impact.
WooCommerce Visibility
Required:
Checklist
Required:
[type]
label or a[skip-changelog]
label.Conditional:
[skip-changelog]
label is not present).Changelog
PR description updated by @danieldudzic