storybookjs/storybook

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

オープン

#20,889 opened on 2023/02/02

 (0 件のコメント) (1 件のリアクション) (1 人の担当者)TypeScript (10,058 件のフォーク)batch import
argtypesbughelp wantedsev:S3typescript

Repository metrics

Stars
 (89,909 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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.

コントリビューターガイド