Skip to content
New issue

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

React: Fix missing props in the Welcome.tsx demo #7774

Merged
merged 5 commits into from
Aug 29, 2019
Merged

React: Fix missing props in the Welcome.tsx demo #7774

merged 5 commits into from
Aug 29, 2019

Conversation

joeycozza
Copy link
Contributor

Issue:
When the typescript conversion occurred, a few props were destructured out of the props of Link and NavButton (in order to be able to define types for them I assume), but they weren't put into the rendered jsx for their component. (before the typescript conversion they were "automatically" placed in the jsx because of using rest and spread operators with props)

What I did

I explicitly attach those props to the element that needed them.

@vercel
Copy link

vercel bot commented Aug 14, 2019

This pull request is automatically deployed with Now.
To access deployments, click Details below or on the icon next to each push.

Copy link
Member

@shilman shilman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch! Thanks for fixing 🙏

@shilman shilman changed the title fixing some missing props in the Welcome.tsx demo React: Fix missing props in the Welcome.tsx demo Aug 18, 2019
@vercel vercel bot temporarily deployed to staging August 28, 2019 20:03 Inactive
@shilman shilman merged commit 42a9be0 into storybookjs:next Aug 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants