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

Conditional Prop as boolean #8

Open
artivilla opened this issue Mar 30, 2017 · 1 comment
Open

Conditional Prop as boolean #8

artivilla opened this issue Mar 30, 2017 · 1 comment

Comments

@artivilla
Copy link

What if the conditional prop is a boolean value with a default value set to false? Couldn't get this to work.

@hasnat
Copy link

hasnat commented May 23, 2017

running into the same problem but, here are some details on a defaultProps and isRequired behaviour
https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/default-props-match-prop-types.md

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

No branches or pull requests

2 participants