Skip to content

Commit

Permalink
Fixing small typo on require-default-props docs
Browse files Browse the repository at this point in the history
  • Loading branch information
evsasse committed May 28, 2021
1 parent 880ab8c commit 022970d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/rules/require-default-props.md
Expand Up @@ -342,7 +342,7 @@ MyStatelessComponent.propTypes = {

## When Not To Use It

If you don't care about using `defaultsProps` for your component's props that are not required, you can disable this rule.
If you don't care about using `defaultProps` for your component's props that are not required, you can disable this rule.

# Resources
- [Official React documentation on defaultProps](https://facebook.github.io/react/docs/typechecking-with-proptypes.html#default-prop-values)
Expand Down

0 comments on commit 022970d

Please sign in to comment.