From 27cfc54d1613e3fa97806eea4fefc5bbee4860b2 Mon Sep 17 00:00:00 2001 From: Toru Kobayashi Date: Wed, 26 Oct 2016 21:44:46 +0900 Subject: [PATCH] Fix an argument name of TestUtils.renderIntoDocument (#8104) --- docs/addons-test-utils.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/addons-test-utils.md b/docs/addons-test-utils.md index 18c23371..83918c60 100644 --- a/docs/addons-test-utils.md +++ b/docs/addons-test-utils.md @@ -122,10 +122,10 @@ ReactTestUtils.Simulate.keyDown(node, {key: "Enter", keyCode: 13, which: 13}); ### `renderIntoDocument()` ```javascript -renderIntoDocument(instance) +renderIntoDocument(element) ``` -Render a component into a detached DOM node in the document. **This function requires a DOM.** +Render a React element into a detached DOM node in the document. **This function requires a DOM.** > Note: >