We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 01dfe24 + 2793e5d commit 20b8719Copy full SHA for 20b8719
modules/PropTypes.js
@@ -9,7 +9,7 @@ var PropTypes = assign({}, ReactPropTypes, {
9
*/
10
falsy(props, propName, componentName) {
11
if (props[propName])
12
- return new Error(`<${componentName}> may not have a "${propName}" prop`);
+ return new Error(`<${componentName}> should not have a "${propName}" prop`);
13
},
14
15
/**
0 commit comments