Skip to content

Commit

Permalink
chore: update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
marvinhagemeister committed Nov 29, 2024
1 parent 2a59f82 commit 924ea9d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions www/static/docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@
"code": "jsx-no-duplicate-props",
"docs": "Disallow duplicated JSX props. Later props will always overwrite earlier props\noften leading to unexpected results.\n\n### Invalid:\n\n```tsx\n<div id=\"1\" id=\"2\" />;\n<App a a />;\n<App a {...b} a />;\n```\n\n### Valid:\n\n```tsx\n<div id=\"1\" />\n<App a />\n<App a {...b} />\n<App {...b} b />\n```\n",
"tags": [
"recommended",
"react",
"jsx"
]
Expand Down

0 comments on commit 924ea9d

Please sign in to comment.