Skip to content

Commit

Permalink
Merge pull request #2044 from dimitarnestorov/patch-1
Browse files Browse the repository at this point in the history
Small mistake in the docs of jsx-sort-props
  • Loading branch information
ljharb committed Nov 13, 2018
2 parents 3008e85 + 8671f05 commit d027520
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/rules/jsx-sort-props.md
Expand Up @@ -92,7 +92,7 @@ When `reservedFirst` is defined, React reserved props (`children`, `dangerouslyS

If given as an array, the array's values will override the default list of reserved props. **Note**: the values in the array may only be a **subset** of React reserved props.

With `reservedFirst: [2, ["key"]]`, the following will **not** warn:
With `reservedFirst: ["key"]`, the following will **not** warn:

```jsx
<Hello key={'uuid'} name="John" ref="ref" />
Expand Down

0 comments on commit d027520

Please sign in to comment.