Fix mapFunction parameters in mapChildren's JSDoc (#6569)

Remove 'key' parameter from 'mapFunction(child, key, index)'. It is no longer called with 'key'.
This commit is contained in:
Esteban 2016-04-21 18:28:08 -03:00 committed by Jim
parent b7a2409919
commit 9462d0d040
1 changed files with 1 additions and 1 deletions

View File

@ -146,7 +146,7 @@ function mapIntoWithKeyPrefixInternal(children, array, prefix, func, context) {
/**
* Maps children that are typically specified as `props.children`.
*
* The provided mapFunction(child, key, index) will be called for each
* The provided mapFunction(child, index) will be called for each
* leaf child.
*
* @param {?*} children Children tree container.