Skip to content

Commit cea8305

Browse files
committed
[jsx-wrap-multilines] Fix example
1 parent 252c3ba commit cea8305

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

docs/rules/jsx-wrap-multilines.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,13 @@ The following patterns are considered warnings when configured `{logical: true}`
158158
The following patterns are not considered warnings when configured `{logical: true}`.
159159

160160
```jsx
161-
<div> not
161+
<div>
162+
{foo &&
163+
(<div>
164+
<p>Hello World</p>
165+
</div>)
166+
}
167+
</div>
162168
```
163169

164170
The following patterns are considered warnings when configured `{attr: true}`.

0 commit comments

Comments
 (0)