We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug The default value on the prop table is an integer when it should be undefined.
To Reproduce Steps to reproduce the behavior:
Expected behavior Only the defined default prop must contain a value. Instead, others have integers on them.
Screenshots
Code snippets
export interface HelloProps { title: string; foo: boolean; bar?: string[]; } const Hello = ({title}: HelloProps) => { return <div className="hello">Hello Component {title}</div>; }; Hello.defaultProps = { title: 'this is the default :)', }; export default Hello;
System:
Environment Info: System: OS: Windows 10 10.0.18363 CPU: (4) x64 Intel(R) Core(TM) i3-4170 CPU @ 3.70GHz Binaries: Node: 12.14.1 - C:\Program Files\nodejs\node.EXE Yarn: 1.21.1 - C:\Program Files (x86)\Yarn\bin\yarn.CMD npm: 6.13.4 - C:\Program Files\nodejs\npm.CMD Browsers: Edge: 44.18362.449.0
Additional context Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
Props: #9827 repro
05f44c1
Repro: 05f44c1
Sorry, something went wrong.
Egads!! I just released https://github.com/storybookjs/storybook/releases/tag/v6.0.0-alpha.17 containing PR #9873 that references this issue. Upgrade today to try it out!
You can find this prerelease on the @next NPM tag.
@next
Closing this issue. Please re-open if you think there's still more to do.
Ooh-la-la!! I just released https://github.com/storybookjs/storybook/releases/tag/v5.3.14 containing PR #9873 that references this issue. Upgrade today to try it out!
No branches or pull requests
Describe the bug
The default value on the prop table is an integer when it should be undefined.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Only the defined default prop must contain a value. Instead, others have integers on them.
Screenshots
Code snippets
System:
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: