Skip to content

Commit

Permalink
[Docs] require-default-props: fix small typo
Browse files Browse the repository at this point in the history
  • Loading branch information
evsasse authored and ljharb committed May 28, 2021
1 parent 693a689 commit f233eb7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Expand Up @@ -18,6 +18,7 @@ This change log adheres to standards from [Keep a CHANGELOG](http://keepachangel
* [Docs] [`jsx-no-bind`]: updates discussion of refs ([#2998][] @dimitropoulos)
* [Refactor] `utils/Components`: correct spelling and delete unused code ([#3026][] @ohhoney1)
* [Docs] [`jsx-uses-react`], [`react-in-jsx-scope`]: document [`react/jsx-runtime`] config ([#3018][] @pkuczynski @ljharb)
* [Docs] [`require-default-props`]: fix small typo ([#2994][] @evsasse)

[#3026]: https://github.com/yannickcr/eslint-plugin-react/pull/3026
[#3025]: https://github.com/yannickcr/eslint-plugin-react/pull/3025
Expand All @@ -26,6 +27,7 @@ This change log adheres to standards from [Keep a CHANGELOG](http://keepachangel
[#3006]: https://github.com/yannickcr/eslint-plugin-react/pull/3006
[#3001]: https://github.com/yannickcr/eslint-plugin-react/pull/3001
[#2998]: https://github.com/yannickcr/eslint-plugin-react/pull/2998
[#2994]: https://github.com/yannickcr/eslint-plugin-react/pull/2994
[#2992]: https://github.com/yannickcr/eslint-plugin-react/pull/2992

## [7.24.0] - 2021.05.27
Expand Down
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 f233eb7

Please sign in to comment.