Browse Source

Merge pull request #8476 from AlanBreck/patch-1

Update reference-react.md
main
Brandon Dail 8 years ago
committed by GitHub
parent
commit
0ed6236931
  1. 2
      docs/reference-react.md

2
docs/reference-react.md

@ -221,7 +221,7 @@ Like [`React.Children.map()`](#react.children.map) but does not return an array.
#### `React.Children.count`
```javascript
Children.count(children)
React.Children.count(children)
```
Returns the total number of components in `children`, equal to the number of times that a callback passed to `map` or `forEach` would be invoked.

Loading…
Cancel
Save