From 957276e1e92bb48e5bb6b1c17fd0e7a559de0748 Mon Sep 17 00:00:00 2001 From: Abhishek Jain <01abhishekjain@gmail.com> Date: Mon, 16 Nov 2020 16:31:39 +0530 Subject: [PATCH] Update typechecking-with-proptypes.md with a minor addition (#3386) --- content/docs/typechecking-with-proptypes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/docs/typechecking-with-proptypes.md b/content/docs/typechecking-with-proptypes.md index 05fed5b0..e8a6a318 100644 --- a/content/docs/typechecking-with-proptypes.md +++ b/content/docs/typechecking-with-proptypes.md @@ -99,7 +99,7 @@ MyComponent.propTypes = { // is shown if the prop isn't provided. requiredFunc: PropTypes.func.isRequired, - // A value of any data type + // A required value of any data type requiredAny: PropTypes.any.isRequired, // You can also specify a custom validator. It should return an Error