storybookjs/storybook
[Bug] When using argTypes the component type should be loosened.
Offen
#20.889 geöffnet am 02.02.2023
argtypesbughelp wantedsev:S3typescript
Repository-Metriken
- Stars
- (89.909 Sterne)
- PR-Merge-Metriken
- (PR-Metriken ausstehend)
Beschreibung
For example, you may want to drop an arg in your argTypes:

Or you want to use arg mapping:

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