Skip to content

Conversation

@VincentSmedinga
Copy link
Contributor

Describe the pull request

Thank you for contributing to the project!
Please use this template to help us handle your PR smoothly.

What

Prevents controls for the className and style attributes from showing up in Storybook.

Why

  • They appear when we set values for them to improve our examples, but people needn’t know and have no use for them themselves.
  • Specifying this in preview.tsx addresses this once and for all.
  • It’s still possible to override this setting if we want to show one of these attributes for a specific component or story.

How

n/a

Checklist

Before submitting your pull request, please ensure you have done the following. Check each checkmark if you have done so or if it wasn't necessary:

  • Add or update unit tests
  • Add or update documentation
  • Add or update stories
  • Add or update exports in index.* files
  • Start the PR title with a Conventional Commit prefix, as explained here.

Additional notes

  • n/a

@VincentSmedinga VincentSmedinga requested a review from a team as a code owner November 13, 2025 08:37
@github-actions github-actions bot temporarily deployed to demo-hide-class-and-style-attributes November 19, 2025 10:57 Destroyed
@github-actions github-actions bot temporarily deployed to demo-hide-class-and-style-attributes November 19, 2025 11:00 Destroyed
@alimpens alimpens enabled auto-merge (squash) November 19, 2025 11:01
@alimpens alimpens merged commit 645c663 into develop Nov 19, 2025
10 checks passed
@alimpens alimpens deleted the chore/hide-class-and-style-attributes branch November 19, 2025 11:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants