Clarify manual PropType calls warning (#7777)

(cherry picked from commit b7c70b67af)
This commit is contained in:
Andy Edwards
2016-10-04 14:02:21 -07:00
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
);