Skip to content

Commit

Permalink
Add more common, simple examples of correct code
Browse files Browse the repository at this point in the history
  • Loading branch information
karlhorky committed Aug 4, 2022
1 parent 9139830 commit 3707b0a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/rules/jsx-no-useless-fragment.md
Expand Up @@ -32,6 +32,10 @@ Examples of **incorrect** code for this rule:
Examples of **correct** code for this rule:

```jsx
{foo}

<Foo />

<>
<Foo />
<Bar />
Expand Down

0 comments on commit 3707b0a

Please sign in to comment.