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

Explicitly specify when a prop is required #102

Merged
merged 2 commits into from
Mar 11, 2016

Conversation

CompuIves
Copy link
Contributor

Maybe this is just a nitpick from my side, but I think it would be better to explicitly specify it when a prop is required. This way a developer does not overlook your prop requirement that easy.

I'm curious what you think about this change 😄.

@sapegin
Copy link
Member

sapegin commented Mar 10, 2016

Could you show a screenshot?

@CompuIves
Copy link
Contributor Author

Sure!
with explicit
versus
without explicit

@sapegin
Copy link
Member

sapegin commented Mar 11, 2016

Maybe?

@CompuIves
Copy link
Contributor Author

Yes, this is more clear. I'll update the pull request!

@CompuIves
Copy link
Contributor Author

Updated:
screenshot-localhost 3000 2016-03-11 15-51-57

sapegin added a commit that referenced this pull request Mar 11, 2016
Explicitly specify when a prop is required
@sapegin sapegin merged commit c65d78e into styleguidist:master Mar 11, 2016
@sapegin
Copy link
Member

sapegin commented Mar 11, 2016

Cool, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants