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
I took use case below from some gitter chat where @JustBlackBird wanted some property to be String or exactly false
String
false
Use case
PropTypes.oneOfType([ PropTypes.string, PropTypes.exactly(false) ]);
instead of
PropTypes.oneOfType([ PropTypes.string, PropTypes.oneOf([false]) ]);
I can implement it if it does make sense.
The text was updated successfully, but these errors were encountered:
moved to #6166
Sorry, something went wrong.
No branches or pull requests
I took use case below from some gitter chat where @JustBlackBird wanted some property to be
String
or exactlyfalse
Use case
instead of
I can implement it if it does make sense.
The text was updated successfully, but these errors were encountered: