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
Warning displayed in Jest from React:
Warning: Failed prop type: Invalid prop `action` of value `'add'` supplied to `YourComponent`, expected one of ["add","edit"]
It seems it generated a string with quotes included within?
JS file summary:
import PropTypes from 'prop-types'; YourComponent.propTypes = { action: PropTypes.oneOf(['add', 'edit']) };
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Warning displayed in Jest from React:
It seems it generated a string with quotes included within?
JS file summary:
The text was updated successfully, but these errors were encountered: