From bad85fafa12cb68d69ed9347dc5c8e84a851f27b Mon Sep 17 00:00:00 2001 From: Jim Date: Thu, 19 Feb 2015 16:38:25 -0800 Subject: [PATCH] Fixed mistake in jsdocs types for cloneWithProps --- src/utils/cloneWithProps.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils/cloneWithProps.js b/src/utils/cloneWithProps.js index fd496b57ba..03e17c1707 100644 --- a/src/utils/cloneWithProps.js +++ b/src/utils/cloneWithProps.js @@ -24,10 +24,10 @@ var CHILDREN_PROP = keyOf({children: null}); * Sometimes you want to change the props of a child passed to you. Usually * this is to add a CSS class. * - * @param {object} child child component you'd like to clone + * @param {ReactElement} child child component you'd like to clone * @param {object} props props you'd like to modify. className and style will be * merged automatically. - * @return {object} a clone of child with props merged in. + * @return {ReactElement} a clone of child with props merged in. */ function cloneWithProps(child, props) { if (__DEV__) {