From 85dcbf83c5c0c9165dfe7fc440faf9e019ba8642 Mon Sep 17 00:00:00 2001 From: Patrick Finnigan Date: Mon, 25 Jul 2016 16:19:15 -0700 Subject: [PATCH] fix doc for React Native mountComponent (#7313) --- src/renderers/dom/shared/ReactDOMComponent.js | 2 +- src/renderers/native/ReactNativeBaseComponent.js | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/renderers/dom/shared/ReactDOMComponent.js b/src/renderers/dom/shared/ReactDOMComponent.js index 9899b4752d..c4de8639b7 100644 --- a/src/renderers/dom/shared/ReactDOMComponent.js +++ b/src/renderers/dom/shared/ReactDOMComponent.js @@ -518,7 +518,7 @@ ReactDOMComponent.Mixin = { * * @internal * @param {ReactReconcileTransaction|ReactServerRenderingTransaction} transaction - * @param {?ReactDOMComponent} the containing DOM component instance + * @param {?ReactDOMComponent} the parent component instance * @param {?object} info about the host container * @param {object} context * @return {string} The computed markup. diff --git a/src/renderers/native/ReactNativeBaseComponent.js b/src/renderers/native/ReactNativeBaseComponent.js index 20dfaa542b..0a0c8435b7 100644 --- a/src/renderers/native/ReactNativeBaseComponent.js +++ b/src/renderers/native/ReactNativeBaseComponent.js @@ -171,8 +171,10 @@ ReactNativeBaseComponent.Mixin = { }, /** - * @param {string} rootID Root ID of this subtree. - * @param {Transaction} transaction For creating/updating. + * @param {ReactNativeReconcileTransaction} transaction + * @param {?ReactNativeBaseComponent} the parent component instance + * @param {?object} info about the host container + * @param {object} context * @return {string} Unique iOS view tag. */ mountComponent: function(transaction, hostParent, hostContainerInfo, context) {