Skip to content

Commit d027520

Browse files
authored
Merge pull request #2044 from dimitarnestorov/patch-1
Small mistake in the docs of jsx-sort-props
2 parents 3008e85 + 8671f05 commit d027520

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/rules/jsx-sort-props.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ When `reservedFirst` is defined, React reserved props (`children`, `dangerouslyS
9292

9393
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.
9494

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

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

0 commit comments

Comments
 (0)