@samitouri / QOS-React / commits / 85dcbf83c5

fix doc for React Native mountComponent (#7313)

Patrick Finnigan committed Jul 25, 2016 at 16:19 UTC 85dcbf83c5c0c9165dfe7fc440faf9e019ba8642
2 files changed +5 -3
src/renderers/dom/shared/ReactDOMComponent.js
+1 -1
@@ -518,7 +518,7 @@ ReactDOMComponent.Mixin = {
518 *
519 * @internal
520 * @param {ReactReconcileTransaction|ReactServerRenderingTransaction} transaction
521 - * @param {?ReactDOMComponent} the containing DOM component instance
521 + * @param {?ReactDOMComponent} the parent component instance
522 * @param {?object} info about the host container
523 * @param {object} context
524 * @return {string} The computed markup.
src/renderers/native/ReactNativeBaseComponent.js
+4 -2
@@ -171,8 +171,10 @@ ReactNativeBaseComponent.Mixin = {
171 },
172
173 /**
174 - * @param {string} rootID Root ID of this subtree.
175 - * @param {Transaction} transaction For creating/updating.
174 + * @param {ReactNativeReconcileTransaction} transaction
175 + * @param {?ReactNativeBaseComponent} the parent component instance
176 + * @param {?object} info about the host container
177 + * @param {object} context
178 * @return {string} Unique iOS view tag.
179 */
180 mountComponent: function(transaction, hostParent, hostContainerInfo, context) {