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.
1 parent b3157e0 commit 2793e5dCopy full SHA for 2793e5d
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