storybookjs/storybook

[Bug] When using argTypes the component type should be loosened.

Open

#20,889 opened on Feb 2, 2023

 (0 comments) (1 reaction) (1 assignee)TypeScript (10,058 forks)batch import
argtypesbughelp wantedsev:S3typescript

Repository metrics

Stars
 (89,909 stars)
PR merge metrics
 (PR metrics pending)

Description

For example, you may want to drop an arg in your argTypes:

Image

Or you want to use arg mapping:

Image

In this case, we could drop the constraints we put on the "component" of meta.

Contributor guide