Browse Source

Correct grammar in conditional-rendering.md (#3095)

* Correct grammar in conditional-rendering.md

* Correct grammar in content/docs/conditional-rendering.md
main
shyamsn00 5 years ago
committed by GitHub
parent
commit
f3e55c8ce8
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      content/docs/conditional-rendering.md

2
content/docs/conditional-rendering.md

@ -122,7 +122,7 @@ While declaring a variable and using an `if` statement is a fine way to conditio
### Inline If with Logical && Operator {#inline-if-with-logical--operator}
You may [embed any expressions in JSX](/docs/introducing-jsx.html#embedding-expressions-in-jsx) by wrapping them in curly braces. This includes the JavaScript logical `&&` operator. It can be handy for conditionally including an element:
You may [embed expressions in JSX](/docs/introducing-jsx.html#embedding-expressions-in-jsx) by wrapping them in curly braces. This includes the JavaScript logical `&&` operator. It can be handy for conditionally including an element:
```js{6-10}
function Mailbox(props) {

Loading…
Cancel
Save