mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Clarify manual PropType calls warning (#7777)
(cherry picked from commit b7c70b67af)
This commit is contained in:
committed by
Paul O’Shannessy
parent
c4c7e0a966
commit
84fc62f30f
@@ -145,9 +145,10 @@ function createChainableTypeChecker(validate) {
|
||||
false,
|
||||
'You are manually calling a React.PropTypes validation ' +
|
||||
'function for the `%s` prop on `%s`. This is deprecated ' +
|
||||
'and will not work in the next major version. You may be ' +
|
||||
'seeing this warning due to a third-party PropTypes library. ' +
|
||||
'See https://fb.me/react-warning-dont-call-proptypes for details.',
|
||||
'and will not work in production with the next major version. ' +
|
||||
'You may be seeing this warning due to a third-party PropTypes ' +
|
||||
'library. See https://fb.me/react-warning-dont-call-proptypes ' +
|
||||
'for details.',
|
||||
propFullName,
|
||||
componentName
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user