-
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
CustomSelectControl: update size prop options to new format in Storybook examples #47779
CustomSelectControl: update size prop options to new format in Storybook examples #47779
Conversation
Size Change: 0 B Total Size: 1.31 MB ℹ️ View Unchanged
|
Flaky tests detected in 433e58e. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/4103570189
|
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.
Straightforward 👍 Looks good, thanks!
What?
While reviewing #47229 I noticed a warning in Storybook about an out-of-date format used to list options for the
size
props. This PR updates the code to the new format.Why?
Pre-requisite for the migration to Storybook v7 in the near future.
How?
Followed instructions from https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#deprecated-controloptions
Testing Instructions
npm run storybook:dev
) and visitCustomSelectControl
's examplessize
props work as on production, showing three options to choose from via a radio interface:'small'
,'default'
,'__unstable-large'
Screenshots or screencast
trunk