diff --git a/src/isomorphic/children/onlyChild.js b/src/isomorphic/children/onlyChild.js index 0a33ee1801..e1d3706c7e 100644 --- a/src/isomorphic/children/onlyChild.js +++ b/src/isomorphic/children/onlyChild.js @@ -22,7 +22,7 @@ var invariant = require('invariant'); * of children. * * @param {?object} children Child collection structure. - * @return {ReactComponent} The first and only `ReactComponent` contained in the + * @return {ReactElement} The first and only `ReactElement` contained in the * structure. */ function onlyChild(children) {