Skip to content

Commit 957276e

Browse files
Update typechecking-with-proptypes.md with a minor addition (#3386)
1 parent fc6e864 commit 957276e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: content/docs/typechecking-with-proptypes.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ MyComponent.propTypes = {
9999
// is shown if the prop isn't provided.
100100
requiredFunc: PropTypes.func.isRequired,
101101

102-
// A value of any data type
102+
// A required value of any data type
103103
requiredAny: PropTypes.any.isRequired,
104104

105105
// You can also specify a custom validator. It should return an Error

0 commit comments

Comments
 (0)