storybookjs/storybook

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

Aberta

#20.889 aberto em 2 de fev. de 2023

 (0 comentário) (1 reação) (1 responsável)TypeScript (10.058 forks)batch import
argtypesbughelp wantedsev:S3typescript

Métricas do repositório

Stars
 (89.909 estrelas)
Métricas de merge de PR
 (Métricas PR pendentes)

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.

Guia do colaborador