We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1dc71d3 commit a24dc34Copy full SHA for a24dc34
react/README.md
@@ -214,6 +214,27 @@ This style guide is mostly based on the standards that are currently prevalent i
214
215
// good
216
{showButton && <Button />}
217
+
218
+ // good
219
+ {someReallyLongConditional
220
+ && anotherLongConditional
221
+ && (
222
+ <Foo
223
+ superLongParam="bar"
224
+ anotherSuperLongParam="baz"
225
+ />
226
+ )
227
+ }
228
229
230
+ {someConditional ? (
231
+ <Foo />
232
+ ) : (
233
234
235
236
237
+ )}
238
```
239
240
## Quotes
0 commit comments