Skip to content

Commit 85dcbf8

Browse files
finnigantimezpao
authored andcommitted
fix doc for React Native mountComponent (facebook#7313)
1 parent 9d33fb0 commit 85dcbf8

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

src/renderers/dom/shared/ReactDOMComponent.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,7 @@ ReactDOMComponent.Mixin = {
518518
*
519519
* @internal
520520
* @param {ReactReconcileTransaction|ReactServerRenderingTransaction} transaction
521-
* @param {?ReactDOMComponent} the containing DOM component instance
521+
* @param {?ReactDOMComponent} the parent component instance
522522
* @param {?object} info about the host container
523523
* @param {object} context
524524
* @return {string} The computed markup.

src/renderers/native/ReactNativeBaseComponent.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,8 +171,10 @@ ReactNativeBaseComponent.Mixin = {
171171
},
172172

173173
/**
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
176178
* @return {string} Unique iOS view tag.
177179
*/
178180
mountComponent: function(transaction, hostParent, hostContainerInfo, context) {

0 commit comments

Comments
 (0)