From 0203b6567c6fd6274866c853ef938241d24551ec Mon Sep 17 00:00:00 2001 From: susiwen8 Date: Tue, 16 Mar 2021 19:37:34 +0800 Subject: [PATCH] chore: update react-reconciler README (#21016) --- packages/react-reconciler/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/react-reconciler/README.md b/packages/react-reconciler/README.md index fd87321f27f4e..60c515610c212 100644 --- a/packages/react-reconciler/README.md +++ b/packages/react-reconciler/README.md @@ -312,11 +312,11 @@ This method should make the `instance` invisible without removing it from the tr Same as `hideInstance`, but for nodes created by `createTextInstance`. -#### `unhideInstance(instance)` +#### `unhideInstance(instance, props)` This method should make the `instance` visible, undoing what `hideInstance` did. -#### `unhideTextInstance(textInstance)` +#### `unhideTextInstance(textInstance, text)` Same as `unhideInstance`, but for nodes created by `createTextInstance`.