Skip to content
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

Storybook: Add stories for ImageSizeControl Component #68285

Draft
wants to merge 1 commit into
base: trunk
Choose a base branch
from

Conversation

SainathPoojary
Copy link
Contributor

related to #67165

What?

Added a Storybook story for the ImageSizeControl component. This story includes documentation for props and a default example with adjustable image dimensions and size options.

Why?

  • To provide clear visual documentation for the ImageSizeControl component.
  • To enable interactive testing for various ImageSizeControl scenarios.
  • To enhance the development experience for Block Editor components.

Testing Instructions

  1. Run npm run storybook:dev
  2. Open Storybook at http://localhost:50240/
  3. Verify that the story renders correctly with the default settings.
  4. Test onChange and onChangeImage callbacks by observing console actions.
  5. Ensure all documented props work as intended.

Screenshots or screencast

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant