-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Classic Block: replace the deprecated isPrimary
prop with variant
#48230
Conversation
isPrimary
prop to variantisPrimary
prop with variant
Size Change: 0 B Total Size: 1.33 MB ℹ️ View Unchanged
|
Flaky tests detected in c51ee6f. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/4242083630
|
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.
Nice one! I noticed this a few weeks ago but forgot to do a follow-up 😄
Thank you, @t-hamano!
c798ed2
to
c51ee6f
Compare
What?
This PR replaces the deprecated
isPrimary
prop withvariant="primary"
in the button component of the Classic block.There is no impact on functionality or layout.