Clean up fake Storybook knobs and set up controls for simple stories #9084
Labels
4 - verified
Issues that have been released and confirmed resolved.
estimate - 5
A few days of work, definitely requires updates to tests.
p - medium
Issue is non core or affecting less that 60% of people using the library
tooling
Issues relating to build system fixes or improvements.
Milestone
Summary
#9030 introduced fake knobs to ease migration to Storybook v8 as
@storybook/addon-knobs
is no longer supported. Knobs used insimple
stories should be restored via@storybook/addon-controls
and any other knob-usage should be cleaned up.Desired Outcome
simple
storiescreateComponentHTML
and related utils and replace each story using this with HTML instead.Resources
createComponentHTML
filterComponentAttributes
Example of story using ☝️
https://storybook.js.org/docs/essentials/controls
The text was updated successfully, but these errors were encountered: