Skip to content

Commit

Permalink
Update jsx-sort-props.md
Browse files Browse the repository at this point in the history
  • Loading branch information
DimitarNestorov committed Nov 13, 2018
1 parent 3008e85 commit 8671f05
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 8671f05

Please sign in to comment.