Skip to content

Migrate Storybook Knobs to Controls #35923

Closed
@alanorozco

Description

Storybook Knobs are deprecated and we should replace them with Controls.

General work

Migrating Stories

For general guidance, see Storybook docs: How do I migrate from addon-knobs?

Please also make sure to follow our Style Recommendations.

You'll also have to remove the migrated files from this allowlist to pass CI. Files in this list are also disabled on Storybook, so you have to remove them from allowlist for them to show up at all.

'@storybook/addon-knobs': {
message:
'The @storybook/addon-knobs package has been deprecated. Use Controls instead (`args` and `argTypes`). https://storybook.js.org/docs/react/essentials/controls',
allowlist: [
// TODO(#35923): Update existing files to use Controls instead.

Tasks

Metadata

Assignees

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions