You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Storybook (addon-docs) shows a warning in console when defining a prop and defaultProp with the same name but different types in two different components.
To Reproduce
Steps to reproduce the behavior:
Create a React Storybook with the addon-docs
Create two React components with a prop that has the same name but different types:
The text was updated successfully, but these errors were encountered:
csardinha
changed the title
"the types mismatch" warning when using defaultProp [] to prop
"the types mismatch" warning when using same prop name with different types
Jun 18, 2020
Hi everyone! Seems like there hasn't been much going on in this issue lately. If there are still questions, comments, or bugs, please feel free to continue the discussion. Unfortunately, we don't have time to get to every issue. We are always open to contributions so please send us a pull request if you would like to help. Inactive issues will be closed after 30 days. Thanks!
Describe the bug
Storybook (addon-docs) shows a warning in console when defining a prop and defaultProp with the same name but different types in two different components.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
No error should appear in the console
System:
The text was updated successfully, but these errors were encountered: