Skip to content

Commit 20b8719

Browse files
committed
Merge pull request #889 from micahlmartin/clarify-warning
clarify warning message
2 parents 01dfe24 + 2793e5d commit 20b8719

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/PropTypes.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ var PropTypes = assign({}, ReactPropTypes, {
99
*/
1010
falsy(props, propName, componentName) {
1111
if (props[propName])
12-
return new Error(`<${componentName}> may not have a "${propName}" prop`);
12+
return new Error(`<${componentName}> should not have a "${propName}" prop`);
1313
},
1414

1515
/**

0 commit comments

Comments
 (0)