Skip to content

Commit

Permalink
Update jsx-closing-bracket-location.md
Browse files Browse the repository at this point in the history
the examples of 'after-props' and 'props-aligned' is wrong,  so it should change position them
  • Loading branch information
yooungt13 committed Dec 19, 2016
1 parent 682ae68 commit 8b67d43
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions docs/rules/jsx-closing-bracket-location.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,24 +116,24 @@ var x = function() {
// 'jsx-closing-bracket-location': [1, 'after-props']
<Hello
firstName="John"
lastName="Smith"
/>;
lastName="Smith" />;

<Say
firstName="John"
lastName="Smith"
>
lastName="Smith">
Hello
</Say>;

// 'jsx-closing-bracket-location': [1, 'props-aligned']
<Hello
firstName="John"
lastName="Smith" />;
lastName="Smith"
/>;

<Say
firstName="John"
lastName="Smith">
lastName="Smith"
>
Hello
</Say>;
```
Expand Down

0 comments on commit 8b67d43

Please sign in to comment.