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 7166fd5 commit 5c32ad8Copy full SHA for 5c32ad8
modules/PropTypes.js
@@ -6,7 +6,7 @@ var PropTypes = assign({
6
/**
7
* Requires that the value of a prop be falsy.
8
*/
9
- falsy: function (props, propName, componentName) {
+ falsy(props, propName, componentName) {
10
if (props[propName])
11
return new Error('<' + componentName + '> may not have a "' + propName + '" prop');
12
}
0 commit comments