mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Added undefined example (#8899)
Into section `Booleans, Null, and Undefined Are Ignored` I've added example with undefined.
This commit is contained in:
committed by
Brandon Dail
parent
64a47e9fb4
commit
8bc5a87d04
@@ -381,6 +381,8 @@ Children passed to a custom component can be anything, as long as that component
|
||||
|
||||
<div>{null}</div>
|
||||
|
||||
<div>{undefined}</div>
|
||||
|
||||
<div>{true}</div>
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user