chore: update react-reconciler README (#21016)
susiwen8 committed
Mar 16, 2021 at 19:37 UTC
0203b6567c6fd6274866c853ef938241d24551ec
1 file changed
+2
-2
packages/react-reconciler/README.md
+2
-2
@@ -312,11 +312,11 @@ This method should make the `instance` invisible without removing it from the tr
312
313
Same as `hideInstance`, but for nodes created by `createTextInstance`.
314
315
-#### `unhideInstance(instance)`
315
+#### `unhideInstance(instance, props)`
316
317
This method should make the `instance` visible, undoing what `hideInstance` did.
318
319
-#### `unhideTextInstance(textInstance)`
319
+#### `unhideTextInstance(textInstance, text)`
320
321
Same as `unhideInstance`, but for nodes created by `createTextInstance`.
322