We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
layout
Preview
Storybook has a new layout parameter feature built-in in 6.0 that replaces addon-centered.
The Preview component should respect the valid values: 'centered', 'padded', 'fullscreen'
Here are the layouts the Canvas uses for each value:
https://github.com/storybookjs/storybook/blob/next/lib/core/src/client/preview/StoryRenderer.tsx#L24-L52
official-storybook
Follow up to #8128
The text was updated successfully, but these errors were encountered:
cc @yannbf
Sorry, something went wrong.
Seems to be done in #10801
Thanks @PascalPixel -- indeed!
No branches or pull requests
Storybook has a new
layout
parameter feature built-in in 6.0 that replaces addon-centered.The
Preview
component should respect the valid values: 'centered', 'padded', 'fullscreen'Here are the layouts the Canvas uses for each value:
https://github.com/storybookjs/storybook/blob/next/lib/core/src/client/preview/StoryRenderer.tsx#L24-L52
official-storybook
Follow up to #8128
The text was updated successfully, but these errors were encountered: